Can we declare a class as static?
No Answer is Posted For this Question
Be the First to Post Answer
What are inner classes or non static nested classes in java?
I/O blocking means?
Realized?
What does this () mean in constructor chaining concept?
Is double bigger than float?
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 will happen if we declare don’t declare the main as static?
What is meant by class loader and how many types are there?
How to invoke external process in java.
What is string in java?
Define immutable object?
what is connection pooling with example?