explain System.out.println
Answer Posted / swati vora
system is a class.
out is a object.
println() is a method
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what do you mean by java annotations?
What are static blocks in java ?
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 compareto () in java?
What are the restrictions imposed on method overriding?
What is the console in java?
Give us a program to check for parenthesis matching using stack.
What is advantage of java?
What is type conversion in java?
What is the finalize method do?
What is var keyword ?
What happens when you add a double value to a string?
What are the different access modifiers available in java?
What is variable explain with example?
What is == and === in javascript?