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


Please Help Members By Posting Answers For Below Questions

What are the differences between heap and stack memory?

638


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.

1693


When do we use synchronized blocks and advantages of using synchronized blocks?

744


Differece between class and generic class?

663


Is the empty set a singleton?

626






What is keyword auto for?

732


Can we define private and protected modifiers for the members in interfaces?

634


How do you escape json?

654


What are the different ways of creating thread?

664


What is computer compiler?

620


Explain 5 io best practices?

686


What is dot operator?

662


Is there any tag in htm to upload and download files?

692


Which class contains a method: cloneable or object?

637


How to calculate the length of a singly linked list in java?

660