explain System.out.println
Answer Posted / ramu.gadde
System is the class name which is Available in
java.lang.System class
out is a static variable which is also available in
java.lang.System class
println is the method which is available in
java.io.PrintStream class
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All 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.
Can we overload run() method in java?
Describe the process as to how substring() methodology mechanisms in java.
What is the difference between pass by reference and pass by pointer?
What do you mean by constant time complexity?
If you are given the name of the function at run time how will you invoke the function?
Can interface be private in java?
What is update method called?
Why is core java important?
Why does abstract class have constructor?
how many types of Inheritance?
What is the use of arraylist class in java?
What is exception in java?
What does flag mean in java?
What is exception propagation?