ALLInterview.com :: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
Categories >> Software >> Java Related >> Java J2EE >> Core Java
 
 


 

 
Question Explain in detail about encapsulation with an example?
 Question Asked At ::
 Question Submitted By :: guest
I also faced this Question!!    
Answer Posted By  
 
Answer
encapsulation is the one which will bind members and methods
into a single entity

Is This Answer Correct ?    9 Yes 2 No


 
  ravikiran(aptech mumbai)
 
View All Answers
 
 
Please Help Members By Posting Answers For Below Questions
 
 Question Views   Select
 
Highest level event class of the event-delegation model? 742
when to use ArrayList and when to use HashMap in webApplication. 1824
what is collatration? 1186
Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification 341
4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. ( 324
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box. 385
How to print nodes of a Binary tree? 636
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this? 700
which pattern is default in scanner package? 672
can any body body expalin best definitions & best real time exaples for opps concepts. 564
What is the difference between static synchronize() metod and synchronize() method? 1069
why we use merge option in hybernate pls give a ex snippet 397
whatis Home interface and Remoteinterface? with example? 454
I want to store more than 10 objects in a remote server? Which methodology will follow? 1214
How do you download stubs from Remote place? 257
E-Mail New Answers        Answer Selected Questions