10. Write the output of the following.
System.out.print(Java);
System.out.println("Programming);
System.out.println("Language:
Answers
Answered by
1
Answer:
args) Method. The printf() method of Java PrintStream class is a convenience method which is used to write a String which is formatted to this output Stream. It uses the specified format string and arguments to write the string.
Explanation:
Answered by
4
Given Program:
System.out.print(Java);
System.out.println("Programming);
System.out.println("Language:
Rectified Program:
System.out.print("Java ");
System.out.println("Programming");
System.out.println("Language");
Output:
Java Programming
Language
Similar questions