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
Is it compulsory to have atleast one abstract method in 
abstract class?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Is it compulsory to have atleast one abstract method in abstract class?
Answer
# 1
yes it is very much compulsory to have a one abstract mthod 
in abstract class
otherwise will be no longer abstract
 
Is This Answer Correct ?    3 Yes 6 No
Krishna
 
  Re: Is it compulsory to have atleast one abstract method in abstract class?
Answer
# 2
No.  It is not compulsory that an abstract class
should have atleast one abstract method.

One can declare a class as abstract still with full
implementation of methods.  This avoids the instantiation
the class
 
Is This Answer Correct ?    6 Yes 2 No
Chellammal
 
 
 
  Re: Is it compulsory to have atleast one abstract method in abstract class?
Answer
# 3
No,It is not mandatory, but sub class of abstract class 
should be override by any one of the method from abstract 
class .

Ex:i)  javax.servlet.http.HttpServlet
   ii) org.apache.struts.actions.DispatchAction, etc.,
 
Is This Answer Correct ?    2 Yes 1 No
Chandrasekhar.k
 
  Re: Is it compulsory to have atleast one abstract method in abstract class?
Answer
# 4
yes,whenever a class is defined as an abstract it should 
have atleast one method as an abstract
 
Is This Answer Correct ?    1 Yes 4 No
Geetha
 
  Re: Is it compulsory to have atleast one abstract method in abstract class?
Answer
# 5
Yes, it is compulsory to have atleast one abstract method 
in abstract class
 
Is This Answer Correct ?    1 Yes 4 No
Navya
 
  Re: Is it compulsory to have atleast one abstract method in abstract class?
Answer
# 6
abstract class can have methods without abstract methods.
if someone dont konw the proper answer then please dont 
give the answer.
this is not the proper way.
 
Is This Answer Correct ?    4 Yes 0 No
Gaurav Agrawal
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is private constructor?what are the uses of writing private constructor in our program?  5
What is the top class of AWT event hierarchy?  4
real time example for deadlock,starvation,livelock  3
How can you take string into InputStream?  3
What are null interfaces? Give some examples?  2
what is request dispatcher and how does it work? CTS1
How will you create the class for the following scenario? Employees under one employee? Bally-Technologies2
garbate collector(GC)?  4
what is the Arraylist limit (maximum) by default ? Fidelity3
Name the package that most of the AWT events that supports event-delegation model are defined?  2
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.  1
Explain the term serialization? Wipro4
how you will prevent method overriding? HCL3
What is casting ?  2
how to call One constructor from another; Innodata-Isogen4
Which are thin and thicK wrapper Class's in Java?  1
How OOPS concept is achieved in Java? JPMorgan-Chase4
Explain, why the constructor is required in implemented class?  2
What is the protocol is used in type4 driver? CMC1
write the hierarchy of component class?  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