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 are concepts of OOPS and how are they implemented in 
Java?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are concepts of OOPS and how are they implemented in Java?
Answer
# 1
oops concepts are Encapsulation, inheritance, abstractio 
and polymorphism.

Encapsulation: Buildingup of the data and methods as a 
single unit is called encapsulation. It isolates the 
members of one class from the members of another class, so 
we can declare same variable in both the classes.

best example for encapsulation is: A Class


Inheritance: Producing the new classes from already 
existing class is called inheritance. The newly produced 
class contains the features of old class and it has its own 
features.

the use of inheritance is reusability. 

Abstraction: Hiding unnecessary data from the user is 
called Abstraction. 

Polymorphism: Poly means many. Morphism means forms.
If same object perfrom different tasks is called 
polymorphism.
 
Is This Answer Correct ?    3 Yes 0 No
Tarangini
 
  Re: What are concepts of OOPS and how are they implemented in Java?
Answer
# 2
abstartcion
inheritence
polymorhism
encapsulation
 
Is This Answer Correct ?    0 Yes 1 No
Ravikiran(aptech Mumbai)
 
 
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is casting ?  2
What is the difference between pageContext and page implicit objects in jsp? Merrill-Lynch6
Name the methods that used to get and set the text label displayed by a Buttonobject?  1
Can an exception be rethrown? Wipro4
which methods consisting of the serilizable interface?  3
can you create interface instance ? Fidelity29
what is an anonymous class? TCS5
What is the middleware?  2
What is protected and friendly?  1
What classes of exceptions, caught by a catch clause?  1
Java violates few objected oriented concepts. Can you explain in what way? Ness-Technologies3
Does any tag exists in HTML to upload and download files ?  2
What is the life cycle of Thread ? HCL7
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
I have a class which is abstract which contains only the abstract methods. This is similar to an interface. Then, if i have given a choice to choose one of them. Which one i have to choose and why?  4
If all the methods in abstract class are declared as abstract then what is difference between abstract class and in interface? Synechron6
Can we access private data outside of the class directly in java programming language? Why There is no runtime checking in java, which leads to access the private data directly outside of a class? Google2
What is the use of ?this??  4
can we create a instance for intwerface?  3
Why do we use public static with the main function in Java? Infosys7
 
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