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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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 Data encapsulation in java?
 Question Submitted By :: Nagireddy.siddaka
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what Data encapsulation in java?
Answer
# 1
grouping of data in a class.such methods varibles etc
 
Is This Answer Correct ?    1 Yes 1 No
Ddd
 
  Re: what Data encapsulation in java?
Answer
# 2
Encapsulation means binding the data and code into a single 
entity.
 
Is This Answer Correct ?    5 Yes 2 No
Satyanarayana
 
 
 
  Re: what Data encapsulation in java?
Answer
# 3
designing comprises of code and data.Data is enclosed with 
memory wheras code is enclosed with functions.
Thus Data encapsulation is encapsulating the Data to Code 
to perform certain functions.
Also Data encapsultion is required for hiding the actual 
functios of the objects
 
Is This Answer Correct ?    1 Yes 1 No
Sanjay
 
  Re: what Data encapsulation in java?
Answer
# 4
Wrapping up of the data members and member functions into a 
classs is nothing but encapsulation.
 
Is This Answer Correct ?    2 Yes 1 No
Swapna Kumari Arava
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
How GUI component handle its own events?  1
10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;  1
What is the Vector class?  3
What happens when you assigned a 'double' value to a 'String'?  6
What is an Exception ?  6
what release of java technology are currently available what do they contain?  1
What is an abstract class? Wipro5
Hi, This is ravi i have a question like this i have string "UNDERSTAND" now i want to count the letters how many times it occures.i.e from the above string the out put should be like this U-1,N-2,D-2,E-1,R-1,S-1,T-1,A-1. how can i achieve this Thnaks in advance for your response ..  4
What are virtual methods? TCS1
what is finalmethod & final variable with example? HP2
What is the difference between throw and throws?  5
y cant i declare method like public final static show()  2
Why null interfaces are used in Java?  2
What is the difference between this() and super()? TCS11
write a simple program inheritance? Polaris2
what is use of session tracking ?with example? Photon1
Java violates few objected oriented concepts. Can you explain in what way? Ness-Technologies3
What is the purpose of a statement block?  1
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 struts-config-xml?and its use?  3
 
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