Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to print in a new line in java using print

public class DisplayMyDataInOneLine {

    public static void main(String[] args) {

        System.out.print("Hameed"+ "
");
        System.out.print("26"+ "
");

    }
    
}
 
PREVIOUS NEXT
Tagged: #print #line #java #print
ADD COMMENT
Topic
Name
8+4 =