Language: Java
Write a program that prints output without using print() or println().
_
Difficulty Level: Medium
Share
Language: Java
Write a program that prints output without using print() or println().
_
Difficulty Level: Medium
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Verified answer
[tex]\textsf{\large{\underline{Solution}:}}[/tex]
Language Used - Java.
The Code:
public class Print{
public static void main(String args[]){
System.out.printf("Output goes here..");
}
}
------ OR ------
import java.io.*;
public class Print{
public static void main(String args[]){
System.out.format("Output goes here..");
}
}
[tex]\textsf{\large{\underline{Explanation}:}}[/tex]
See attachment for output.