<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Java Interview Questions &#187; Explain Abstract Class</title>
	<atom:link href="http://www.bestjavainterviewquestions.com/category/java-interview-questions/core-java-interview-questions/explain-abstract-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bestjavainterviewquestions.com</link>
	<description>Java Interview Questions &#124; Core Java Interview Questions &#124; Advanced Java Interview Questions &#124; EJB Interview Questions &#124; J2EE Interview Questions &#124; Hibernate Interview Questions</description>
	<lastBuildDate>Fri, 30 Jul 2010 06:00:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>What is Abstract Class?Explan</title>
		<link>http://www.bestjavainterviewquestions.com/what-is-abstract-classexplan/</link>
		<comments>http://www.bestjavainterviewquestions.com/what-is-abstract-classexplan/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 07:01:30 +0000</pubDate>
		<dc:creator>Ramakrishna</dc:creator>
				<category><![CDATA[Explain Abstract Class]]></category>
		<category><![CDATA[define abstract class]]></category>

		<guid isPermaLink="false">http://www.bestjavainterviewquestions.com/?p=492</guid>
		<description><![CDATA[Abstract Class  : In some situations we want to define a superclass that declares the structure of a given abstract without providing a complete implementation of every method. That means we only provide general code and it is developers responsibility to customize that class. To make sure this, we can make the abstract, that means [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Abstract Class  :</strong></p>
<p>In some situations we want to define a superclass that declares the structure of a given abstract without providing a complete implementation of every method. That means we only provide general code and it is developers responsibility to customize that class. To make sure this, we can make the abstract, that means the developer will have to override your method .</p>
<p>The abstract keyword is used to make a method abstract if we have an abstract in a class, we also have to make the class an abstract.</p>
<p><strong>Note :</strong></p>
<p><strong>&#8211;&gt; </strong>An abstract class is a class that contain one or more abstract methods</p>
<p><strong>&#8211;&gt; </strong>An abstract class can have instance variables, concrete methods in addition to abstract methods</p>
<p><strong>&#8211;&gt; </strong>We cannot create object to abstract class</p>
<p><strong>&#8211;&gt; </strong>We can create reference variables to abstract class</p>
<p><strong>&#8211;&gt; </strong>All the abstract methods of abstract class should be implemented in its subclass.</p>
<p><strong>&#8211;&gt; </strong>A class cannot be both <em>abstract</em> and <em>final</em>.</p>
<p><strong>&#8211;&gt; </strong>Abstract class reference cannot refer to individual methods of the subclasses</p>
<h2  class="related_post_title">Random Posts</h2><ul class="related_post"><li><a href="http://www.bestjavainterviewquestions.com/life-cycle-of-thread/" title="Life Cycle of Thread"><img src="Array" alt="Life Cycle of Thread" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/explain-the-instance-variables-in-servlets/" title="Explain the Instance Variables in Servlets"><img src="Array" alt="Explain the Instance Variables in Servlets" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/hibernate-interview-questions-2/" title="Hibernate Interview Questions"><img src="Array" alt="Hibernate Interview Questions" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/difference-between-getcurrentsession-and-opensession/" title="Difference between getCurrentSession() and openSession()"><img src="Array" alt="Difference between getCurrentSession() and openSession()" /></a></li><li><a href="http://www.bestjavainterviewquestions.com/adding-a-database-driver-in-hibernate/" title="Adding a DataBase Driver in Hibernate"><img src="Array" alt="Adding a DataBase Driver in Hibernate" /></a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.bestjavainterviewquestions.com/what-is-abstract-classexplan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
