ALLInterview.com :: Home Page            
 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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
   
 
Categories  >>  Software  >>  Java Related  >>  Java J2EE  >>  Core Java
 
 


 

 
 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
Define interface?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Define interface?
Answer
# 1
Java doesnot support multiple inheritance.
interface is a way to achieve multiple inheritance in java,
an interface contains only abstract methods and final
variables.
the class that implements the interface should define the
code for the methods
 
Is This Answer Correct ?    7 Yes 0 No
Neema
 
  Re: Define interface?
Answer
# 2
interface is the one which contains all the methods as
abstract.If we wish to do a complete new functionality
implementation in the future we have to make use of interface
 
Is This Answer Correct ?    4 Yes 0 No
Ravikiran(aptech Mumbai)
 
 
 
  Re: Define interface?
Answer
# 3
interface is a collection of abstract methods ...we also implement multiple inheritence in java with the help of interface.... 
Is This Answer Correct ?    2 Yes 0 No
Dev Yadav
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is adapter class?  11
What is thread priority? Tech-Mahindra1
what is mean by overriding in which situation we wil use? Atlas-Systems5
I have a Arraylist object, it has duplecate values also. Now question is i want delete duplecate data in that objet with out using Set? Aricent8
I/O blocking means?  1
Name the method that used to clear the buffer ?  2
Difference between Hash Table and Hash Map? Persistent10
How to find the size of an array a)array.length() b)array.length c)array.size() d)array.size Accenture6
What is the relationship between a method?s throws clause and the exceptions that can be thrown during the method?s execution?  2
when asub class inherits a super class and overrides a public method of super class in sub class(public method in super class). why these methods needs to be public in sub class. (otherwise compile time error).  3
Write a program to create a binary Tree ?  2
What is the difference between Checked and Unchecked exception? Give some examples Ness-Technologies2
 
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 © 2012  ALLInterview.com.  All Rights Reserved.

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