:: 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  
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
What is the difference between static synchronize() metod and synchronize() method? 1162
what is ststic with example 503
Highest level event class of the event-delegation model? 856
Draw a UML class diagram for the code fragment given below: public class StringApplet extends Applet { private Label sampleString; private Button showTheString; private ButtonHandler bHandler; private FlowLayout layout; public StringApplet() { sampleString = new Label(" "); showTheString = new Button (" Show the String"); bHandler = new ButtonHandler(); layout = new FlowLayout(); showTheString.addActionListener(bHandler); setLayout(layout); add(sampleString); add(showTheString); } class ButtonHandler implements ActionListener { public void actionPerformed(ActionEvent e) { samplestring.setText("Good Morning"); } } } Note: The methods need not be indicated on the diagram. 554
Realized? 507
what is collatration? 1249
Tell me about your ability to work under pressure 603
why an outer class cannot be declared as private? 1721
Write down program for following scenario. Use java coding standard. You have array list with some words in it..we will call it as dictionary….and you have a arbitrary string containing some chars in it. You have to go through each word of dictionary and find out if that word can be constructed with the help of chars from arbitrary string given. If you find the word print it else print none. 999
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me 339
What is Applet Stub Interface ? 810
What are advantages of using Java?s layout managers than windowing systems? 822
What are the differences between Java 1.0 and Java 2.0? 496
when to use ArrayList and when to use HashMap in webApplication. 1981
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects) 437
E-Mail New Answers        Answer Selected Questions