Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java formatted output

int x = 21;
String y = "Sample text";
System.out.printf("%s | x = %d
", y, x);
 
PREVIOUS NEXT
Tagged: #java #formatted #output
ADD COMMENT
Topic
Name
3+4 =