System → Predefined class that represents the system. out → Standard output stream (usually the console). println() → Prints text and moves to a new line.
User defined input can be inserted by class which is present in util or utility package. and here We can input the user defined input in Java by using some methods:- class Scanner 1- nextInt() = It ...