Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (7k points)

Is println a static function in out class from System namespace? Where in the JRE is this function defined?

1 Answer

0 votes
by (13.1k points)

out is a static member of the System class being an instance of PrintStream and if out were a class it would have been named with a capital letter as per the naming convention. The println is a normal overloaded method of PrintStream class.

System is a class in java.lang package.

Want to learn Java? Check out this Java certification from Intellipaat

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Apr 14, 2021 in Java by dante07 (13.1k points)
0 votes
1 answer
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...