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 In Companies ::     < I also faced this Question! >
 Question Submitted By :: guest
  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
 
how to open and edit XML file in Weblogic??? 454
public class Test { public static void main(String[] args) { int countA = 0; int countB = 0; int countC = 0; int countD = 0; int countE = 0; int countF = 0; int countG = 0; int countH = 0; int countI = 0; int countJ = 0; int countK = 0; int countL = 0; int countM = 0; int countN = 0; int countO = 0; int countP = 0; int countQ = 0; int countR = 0; int countS = 0; int countT = 0; int countU = 0; int countV = 0; int countW = 0; int countX = 0; int countY = 0; int countZ = 0; } } Can anybody tell me any alternate solution(like loop or something) to automate this initialization process. Ex:- for(char chr='A';chr<='Z'; chr++) { (int) String "count"+chr = 0; } 533
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers. 421
What does those terms actually mean included in the j.d.k i.6? 506
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com 421
what is server side caching? 467
how to run ecllipse with jettyserver for windows environment using batch file 454
What is the exact difference in between Unicast and Multicast object? 432
make a method which any number and any type of argument and print sum of that arguments..... 341
Any one can explain how the inerface uses in java. give with example. 517
What releases of Java technology are currently available? What do they contain? 515
What is the difference between Java1.4 and Java1.5 548
What is Session reduplication and how its done? 424
What methods are used in Servlet?Applet communication? 639
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE? 1643
E-Mail New Answers        Answer Selected Questions