:: 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  
it is way to combine field and mathod in a single entity
like a capsule ;
class A
int i;
void m(int i)
//body of this mathod ;
like this way;

Is This Answer Correct ?    6 Yes 0 No

  sanjay singh chauhan
View All Answers
Please Help Members By Posting Answers For Below Questions
 Question Views   Select
java program with complete 4 oops concepts implemented example 1639
What is the exact difference in between Unicast and Multicast object? 451
How to solve the problem of generating the unique hash keys with hash function? 424
If goto and const is reserve words than why it is not work in java? 481
Explain JSP life cycle 900
Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn). 503
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have.. 799
how to write a server program and sending the mails to the server using smtp protocol please help me 399
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on 454
For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green &#61607; White will have 1 Weight. &#61607; Red and Green carry no weights. &#61607; Shortest path is the path with less weight when you add up the weights in the path. 560
how to prepare for IT Officers Interview in Banks 477
please send me hr interview questions in it industry 502
Highest level event class of the event-delegation model? 885
whatis Home interface and Remoteinterface? with example? 525
How to implement a multithreaded applet? 1065
E-Mail New Answers        Answer Selected Questions