Introduction
Here is the source code for MainClass.java
Source
public class MainClass {
public static void main(String[] a) {
int percentage = 75;
System.out.printf("\n%1$d%%", percentage);
String str = "The quick brown fox.";
System.out.printf("%nThe string is:%n%s%n%1$25s", str);
}
}