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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
watz the difference between abstract class and interface?
Which one u ill choose as a designer?
 Question Submitted By :: Bullbull
I also faced this Question!!     Rank Answer Posted By  
 
  Re: watz the difference between abstract class and interface? Which one u ill choose as a designer?
Answer
# 1
Abstract Class is the one which contains atleast one 
abstract method and other method may not be essentially 
abstract. However, interface always have only method 
signature in it. We can not have methods with 
implementation in interface unlice abstract class. 

When designer wants to use common property of a system then 
he should go with abstract method. Because in abstract 
method he can have implementation of common properties 
along with signature of other method which can be 
implemented as per need.
 
Is This Answer Correct ?    1 Yes 1 No
Ajay Roy
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is the purpose of setAutoCommit() ? Google1
Different types of modifiers? RoboCom3
Explain different ways of passing arguments to sub-routine?  1
What is garbage collection in Java, and how can it be used ? Wipro10
What is the difference between add() and addElement() method in Vector Class ? TCS2
What are the steps to do connection pooling in weblogic? TCS1
What is CardLayout? Infosys1
Does 'true' and 'false' are keywords?  5
What is the difference between throw and throws? Cap-Gemini2
what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading? Satyam3
Hi, This is ravi i have a question like this i have string "UNDERSTAND" now i want to count the letters how many times it occures.i.e from the above string the out put should be like this U-1,N-2,D-2,E-1,R-1,S-1,T-1,A-1. how can i achieve this Thnaks in advance for your response ..  4
What is Exception handling in Java How do you handle run time errors please explain with an example TCS2
What is a reflection package?  2
What is the difference between a public and a non-public class?  2
java can provide security ,how can provide? IBM3
What is persistence ?  2
What are E and PI?  1
How many methods does cloneable interface contains?  2
How to deprecate a method? Show it with proper example. Plz give the answer of this.Thanx in advance. mail me: tanzeem.akhtar@gmail.com  1
How to transfer data from an Applet to Servlet ?  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