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                      
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  >>  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
How OOPS concept is achieved in Java?
 Question Submitted By :: Bhanu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How OOPS concept is achieved in Java?
Answer
# 1
by polymorphism,inheritance,abstraction,encapsulation
 
Is This Answer Correct ?    12 Yes 5 No
Niranjanravi
 
  Re: How OOPS concept is achieved in Java?
Answer
# 2
Encapsulation,Inheritance,Polymorphism are OOPS principles.

In Java, these OOPS principles are achieved as follows:

Encapsulation & data hiding is achieved thru access modifiers

Inheritance is achieved thru Interfaces

Polymorphism is achieved thru overloading of methods
 
Is This Answer Correct ?    23 Yes 5 No
Kk
 
 
 
  Re: How OOPS concept is achieved in Java?
Answer
# 3
1) Encapsulation:- is achieved through
classes.(Binding/Storing data and methods as a single unit )
2) Abstraction:-it is achieved through private, protected,
public, default keywords.
3)Inheritance through interfaces.
4)polymorphism is achieved through method overloading and
constructor overloading.
5)Message Passing -through objects calling
 
Is This Answer Correct ?    12 Yes 2 No
James
 
  Re: How OOPS concept is achieved in Java?
Answer
# 4
1)using Classes & Interfaces
 
Is This Answer Correct ?    4 Yes 4 No
Abhiram Patil
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
What is the ResourceBundle? Elementus-Technologies2
real time example for deadlock,starvation,livelock  4
if two references are having same hash codes,is that means those are refering to same object? CTS4
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006. EDS1
what are the oops concept in java explain with real time examples Tech-Mahindra4
What is an Exception ?  6
What is an Applet ?  2
explain the classification of exception and hoew to handle the exceptions  2
How are Java source code files named?  3
How many methods does cloneable interface contains?  2
Why Java is not purely object oriented? Persistent21
What is the difference between Stream Reader and Stream Writer?  4
What is UNICODE?  3
what is main difference between architecture,framework and design pattren  1
What are init(), start() methods and whey they are called?  2
What happens if an exception is not caught?  4
Name the types of mouse event listeners ?  2
what is an virtual function TCS2
Why is prepared Statement, Callable Statement used for? What is the need of Batch updates? Logica-CMG1
What is Remote Interface ? CTS4
 
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