Please explain with example this basic statement of java
I'm sure you know the answer ^^ System is a class in java.lang. out is a field of the System class, the output stream (the type of out is PrintStream). println is a overloaded method of the PrintStream class, which outputs the argument (if any) and a line break.
@sbk Just guessing ^^
this statement is used to print things to the console. good?
@Tashi nyc detail and how can you say I know the answer 😃
@Tashi actually u r ryt. but I wanted to know something beyond my knowledge regarding this basic statement of java.. anyways very well explained by u and it matches with which i have read.. 😄