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  >>  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 are Encapsulation, Polymorphism and Inheritance?
 Question Submitted By :: Aparna
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are Encapsulation, Polymorphism and Inheritance?
Answer
# 1
Encapsulation is the mechanism that binds together 
code and data it manipulates  and keeps both safe from 
outside interface and misuse.
      Inheritence is the process by which one object 
acquires the properties of another object.
       polymorphism is the feature that allows one 
interface to be used for general class actions.
 
Is This Answer Correct ?    9 Yes 1 No
Janet
 
  Re: What are Encapsulation, Polymorphism and Inheritance?
Answer
# 2
Encapsulation is nothing but,that binds together the code 
and data, and it manipuletes and keep it away from external 
interface an misuse.


Polymorphism is that allows one interface to be used for 
general class actions.
 
Is This Answer Correct ?    0 Yes 0 No
Karthickeyan S
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Explain class A{} class B{} class C{} all the three classes are saved in a single file name, what the name should i provide to the file ,in what file name should i run the program? Ple Explain DNS6
What is the root class for all Java classes?  4
what is the use of abstract class? AMDOC2
Can we place the any object to key attribute of HashMap<key,value>? HCL3
what is mean by String and StringBuffer? What is mean by Methooverriding and Overloading? Satyam3
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).  2
I have an HashMap object, which has with key and value pair. It has 10 keys and values in that object. Now the question is I want insert new key and value in middle or any where in that list but not at the end or at the top. Is it possible or not. If yes how can we achieve this one? Huawei1
what is mean by method signature? Satyam5
Hi Friends, Can u give few interview questions which relates ArrayList and Hashmap. I mean how to link ArrayList and HashMap.I know this is not good way of asking questions like this , but i need Microsoft1
What is a Java package and how is it used?  2
What is the exact difference in between Unicast and Multicast object ? Accenture1
What error occurs if a try-catch-finally statement sequence does not have a catch clause?  2
whays is mean by inner class? HCL3
Explain difference between final, finally and finalize?  2
What is the diff. b/w Interfaces & Abstract class? Ericsson4
What is the difference between this() and super()? TCS11
How to create an instance of a class if the class has private constructor?  2
when we have to use final class in java?  2
Explain about Superclass and Subclass?  4
1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread? TCS2
 
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