Some people dont know what is System,out,println in System.out.println.
As per my Knowledge,
System is a class in java which is final class(Final will stop inheritance)
out is a static final PrintStream object that is in System Class
And println is a function in PrintStream class
Since out is a static object with out creating object we can access
directly
As
System.out.println();
No comments:
Post a Comment