Computer Science, asked by sarahnoorain7, 14 days ago


10. Write the output of the following.
System.out.print(Java);
System.out.println("Programming);
System.out.println("Language:​

Answers

Answered by anvisha27008
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 atrs7391
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