ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
What is an abstract class?
 Question Submitted By :: Pranab Dutta
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is an abstract class?
Answer
# 1
An Abstract class serves as a template, so it must be 
extended /subclassed. It contains a static data. It means a 
class that is abstract may not be instantiated and its 
constructor can?t be called.  A class may be declared 
abstract even if it has no abstract methods that prevents 
it from being instantiated.
 
Is This Answer Correct ?    0 Yes 0 No
Pranab Dutta
 
  Re: What is an abstract class?
Answer
# 2
An abstract class is a class designed with implementation 
gaps for subclasses to fill in and is deliberately 
incomplete.
 
Is This Answer Correct ?    0 Yes 0 No
Janet
 
 
 
  Re: What is an abstract class?
Answer
# 3
Hi...
Abstract class: U cannot instantiate an object of Abstract 
class.An abstract class should having atleast one abstract 
methoda and it should not final.
 
Is This Answer Correct ?    0 Yes 0 No
Guest
 
  Re: What is an abstract class?
Answer
# 4
an abstract class is one which only gives the body of the 
class containing the methods with out any 
implementation.the abstract methods and the abstract 
objects cannot be instantiated
 
Is This Answer Correct ?    0 Yes 0 No
Ms
 
  Re: What is an abstract class?
Answer
# 5
An abstrct class is a class which contains special property 
than ordinary class.
An abstarct class contains atleast one abstract method 
which will be left to its subclass to implement.
An abstract class defines some common properties to its 
subclass
 
Is This Answer Correct ?    0 Yes 0 No
Shan
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is overloading and overriding with example? CMC1
Different types of Layouts?  3
C and C++ has constructors and distructors, why does Java does not have distructors? T3-Softwares1
class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); } Logica-CMG7
perpare on factorypattern,linklist wothout using collection, (multitharding ie create producer/customer therad producer create Queue continuesly,consumer consume queue, consumer wait if queue is full,producer wait if queue is empty),diff betn sleep(1000)&wait(1000) these r the main Q ask in huawei(2008) Huawei1
What is the difference between the >> and >>> operators?  1
When try and catch block is used ?  4
Why we can not force Garbage Collection?  5
What is the difference between error and exception and explain in simple words not whatever is given in the book.  5
finalize() method?  3
How is Garbage collection done in Java? T3-Softwares2
how u do unit testing? iFlex2
what is meant by string pooling? Wipro5
Which containers may have a MenuBar?  1
How to access a method that it declared as protected?  3
explain the classification of exception and hoew to handle the exceptions  2
what is the use of reference variable  1
What is Connection pooling? Explain Pros and Cons?  1
When we will use an Interface and Abstract class?  2
Name the methods that used to get and set the text label displayed by a Buttonobject?  1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com