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"+ "
");

    }
    
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #line #java #print
ADD COMMENT
Topic
Name
3+7 =