explain System.out.println
Answer Posted / tirath pal singh sisodiya
System.Out.println()
System-System is the final class of the java.lang package it
can not be inherit.
Out-out is the static Object of the PrintStream class which
located in java.io package.
for call any static object with class name then we use
System.Out
println()-println() is the method of printStramClass .
| Is This Answer Correct ? | 1 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.
What is a concrete classes? Is Java object class is concrete class?
What is a bufferedreader?
What do you mean by synchronized non access modifier?
When parseint method can be used?
What is the memory leak in java?
Can we pass a primitive type by reference in java? How
Is there any sort function in java?
What is equals method in java?
What is binary tree in java?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
What do you understand by looping in java? Explain the different types of loops.
What is the purpose of the enableevents() method?
What is a lambda expression ? What's its use ?
What are measurable parameters?