What is the difference between super class & sub class?
No Answer is Posted For this Question
Be the First to Post Answer
class A{ class B{ } } in which name u save the file,its the program compile?
Can we define package statement after import statement in java?
What are adapter classes?
what is comparable and comparator interface?
Can you extend main method in java?
What is substring in java?
When is an object subject to garbage collection?
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.
what is the messsage u r going to get from an objectoriented programing?
What are the differences between abstract class and interface?
How do u provide security in java
Why do we need singleton?