
system.out.formt();...how it works...?

System: It is a class made available by Java to let you manipulate various operating system related objects. It's part of java.lang namespace.
out: out being one of those objects, is a static publicly available object inside that class. The object itself, representing standard output, is an instance of java.io.PrintStream class. Standard output is, on most operating systems, console output.
format: It is a string that specifies the formatting to be used.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.