define System.out.println(); what is the meaning!
Answer Posted / muffy
System: System refers to current java program.
out: out refers to output device. by default it is monitor.
println: to print the specific string onto output device in
next line
System: its the class
out: its the object of the class System
println():its the method which tells the compiler to print
a new line.
Is This Answer Correct ? | 128 Yes | 91 No |
Post New Answer View All Answers
What are the differences between heap and stack memory?
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.
When do we use synchronized blocks and advantages of using synchronized blocks?
Differece between class and generic class?
Is the empty set a singleton?
What is keyword auto for?
Can we define private and protected modifiers for the members in interfaces?
How do you escape json?
What are the different ways of creating thread?
What is computer compiler?
Explain 5 io best practices?
What is dot operator?
Is there any tag in htm to upload and download files?
Which class contains a method: cloneable or object?
How to calculate the length of a singly linked list in java?