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   To Refer this Site to Your Friends   Click 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 we have to do, when we don't want to implement all 
methods of an interface?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What we have to do, when we don't want to implement all methods of an interface?
Answer
# 1
we have to declare that class as an abstract class.
 
Is This Answer Correct ?    1 Yes 0 No
Aditya Mohata
 
  Re: What we have to do, when we don't want to implement all methods of an interface?
Answer
# 2
instead of using interface make use of abstract class at
that moment
 
Is This Answer Correct ?    1 Yes 0 No
Ravikiran(aptech Mumbai)
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
explain the concept of inheritance with an example? Polaris5
Howmany number of objects we can store in an ArrayList. Is there any limit? TCS5
Can you explain the difference b/n abtract and interface with a good example,?In what cases we have use abtract and what case interface? Satyam1
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 sendredirect? TCS3
can any one tell me when do u go for inheritance and polymorphism  1
what is difference between method overloading & method overridding with example? IBM2
If your team member writes code with lots of static variables and static methods, will it cause any side effects? KPIT1
Which characters are allowed to use as the second character of an identifier, and which characters are not allowed?  2
what is the purpose of method overriding in java where v r completely re-defining a inherited method instead y can't v create a new method and define.If the question is very silly plz excuse me and do reply.Thank U!  5
What is the life cycle of an Applet ?  1
How to access a variable if it is declared as private?  2
Hi ,i convert contrller as jSp And presentation as servlet ...will it do? if so what are advantage and idsadvantages IBM1
What is multiple inheritance & can we implement it in java? Satyam4
if i have one string class then how can you achive this class functionality of this class? Fidelity3
can we create instance for interface in java?  2
Is &&= a valid Java operator?  2
How to print nodes of a Binary tree? TCS1
In Java why we write public static void main(String args[]) why not main()? TCS12
why to use transient variables when static variables can be used for Serialization  3
 
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