We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
The printf is for formatting and when we give %s it indicate the String need to format, the number indicate (15) starting point for printing string (##) and \n indicate for new line so that ## will start printing in a new Line and start from 15th space
for more details refer
Staircase
You are viewing a single comment's thread. Return to all comments →
The printf is for formatting and when we give %s it indicate the String need to format, the number indicate (15) starting point for printing string (##) and \n indicate for new line so that ## will start printing in a new Line and start from 15th space for more details refer
*https://docs.oracle.com/javase/tutorial/java/data/numberformat.html *