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  >>  Java J2EE  >>  Java Related  >>  EJB
 
 


 

 
 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
java doesnot support multiple inhetance. but a interface can
support.how the ambiguities are rectified in interfaces?
 Question Submitted By :: Shivakrishna
I also faced this Question!!     Rank Answer Posted By  
 
  Re: java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectified in interfaces?
Answer
# 1
since java doesn,t support multiple inheritance,
to overcome the disadvntage of multiple inheritance
interfaces are came.

multiple inheritance means,many sub classes can share 
the properties of base class

interfaces are also providing the same feature
but,the class which is implemented the interface
that should give the definition for all the methods present
in the interface.
so,one interface can be implemented by no of classes
by this,the ambiguities are rectified in interfaces
 
Is This Answer Correct ?    3 Yes 5 No
Padmaja
 
  Re: java doesnot support multiple inhetance. but a interface can support.how the ambiguities are rectified in interfaces?
Answer
# 2
sorry Padmaja,

Multiple inheritance is way of accessing one sub(child) class from multiple base(parent) classes.

in java is  possible through interfaces but not through classes.
 
Is This Answer Correct ?    0 Yes 0 No
Krishna
 
 
 

 
 
 
Other EJB Interview Questions
 
  Question Asked @ Answers
 
ejb session beans and entity beans?  1
How Client will contact the Bean? Four-soft2
In an EJB project, Howmany tables and How many entity beans are used?  1
What is Introspection ? Wipro1
What is Enterprise JavaBeans?  1
How does a container, manage access, from multiple transactions on an entity bean?  1
How is an entity bean created?  1
What is the purpose of a transaction monitor?  1
How to determine two identical beans?  1
Can the primary key in the entity bean be a Java primitive type such as int? CTS2
What are the steps involved in creating a Bean?  1
abstract methods in SessionBean?  1
Can we write the Remote and Local Interfaces in one Bean. How do you define it in the deployment descriptor. HCL2
What are the various methods of an Entity Bean?  1
What are the design goals of EJB Architecture?  1
In what way, the client gets a reference to an existing entity bean?  1
What are types in SessionBeans?  1
Explain the difference between, Java Class and Bean?  2
What is the TX operational difference between Session Bean and Entity Bean?  1
In bean managed transactions, how session bean can be configured?  1
 
For more EJB 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