Answer Posted / jjj
Because System is a predefined class in java and every
predefined class must starts with a capital letter...
| Is This Answer Correct ? | 80 Yes | 6 No |
Post New Answer View All Answers
Define reflection.
Define jit compiler?
What is a class reference?
What is string subsequence method?
What is difference between length and length() method in java ?
Can we extend singleton class?
Does constructor creates the object ?
What is meant by the value of a variable?
Differentiate between array list and vector in java.
How do you make a thread in java?
What is bubble sorting in java?
Why we override equals() method?
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.
How do you sort an array in java?
What is nextline method in java?