I want to persist data of objects for later use. What is the best approach to do so?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Do you know why doesn't the java library use a randomized version of quicksort?

0 Answers  


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.

0 Answers  


What is one third plus one third as a fraction?

0 Answers  


What are different ways of object creation in java ?

0 Answers  


Can we declare a class as static?

0 Answers  






Why is boolean important?

0 Answers  


Write a program to solve producer consumer problem in java?

0 Answers  


Can you call a method in a method?

0 Answers  


Explain a few methods of overloading best practices in java?

0 Answers  


why String class is immutable.

5 Answers   iGate,


What are local variables?

0 Answers  


What do you mean by local variable and instance variable?

0 Answers  


Categories