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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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 ?    1 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 ?    2 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
 
Can we access private data outside of the class directly in java programming language? Why There is no runtime checking in java, which leads to access the private data directly outside of a class? Google2
How the elements are organized in GridBagLayout?  1
what is sendredirect? TCS3
Explain the difference between the Boolean & operator and the && operator?  1
what is the life cycle of jsp? Photon2
Explain cookies?  2
Can I create any Marker Interface? If yes then how can I use it???  1
what is prepare statement? what is calabedtarement? Symphony1
How do u provide security in java  1
How to declare unique ArrayList ? RMSI4
Why Java is a platform independent language? Zensar4
how many access specifiers are available in java  5
What is the ResourceBundle? Elementus-Technologies2
java can provide security ,how can provide? IBM3
how cani read a command line argument?(usingfile object).  3
What is Collection interface? Zensar1
After compilation of java program we'll get .class code. If it's generated in OS Windows XP will it work on OS Linux? If yes why? If no why? Aricent4
What is audio clip interface? Name few methods of it ?  1
Why non nested classes in java are not having marked as protected access specifier Google1
class A { class B { psvm(String args[]) { } } } if the prg saved in A.java whats the o/p? HCL5
 
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