Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 506 Page Views: 

What is encapsulation?



Posted By: Avi Date: 9 November 2010 07:39:52 AM
 Answer:

Encapsulation describes the ability of an object to hide its data and methods from the rest of the world


Posted By: avibtech


Date: 9 November 2010 07:39:52 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image lxvPfK
Related Questions
Core Java : How can exception be created?

How can exception be created?

The class must extend the Exception class or its sub class
Category: Core Java Date: 11/6/2010 7:19:50 PM
Core Java : What is the difference between the prefix and postfix forms of the ++ operator?

What is the difference between the prefix and postfix forms of the ++ operator?

The prefix form performs the increment operation and returns the value of the increment operation(+....
Category: Core Java Date: 11/6/2010 6:47:49 PM
Core Java : What is the difference between yield() and sleep()?  

What is the difference between yield() and sleep()?  

yield() returns to ready state, when a object invokes it. sleep() method enters to not ready state, ....
Category: Core Java Date: 11/6/2010 6:46:50 PM
Core Java : What is the purpose of garbage collection?

What is the purpose of garbage collection?

The purpose of garbage collection is to identify and discard objects that are no longer needed by a ....
Category: Core Java Date: 11/6/2010 6:35:55 PM
Core Java : What is a marker interface ?

What is a marker interface ?

It is an interface that doesn’t contain methods and it is used to mark java classes that support cer....
Category: Core Java Date: 11/6/2010 4:25:51 PM