what happens in the background when we write system.out.println().please make it because we know that out is the static member of System class then how can we call a method with i.e println()with the help of a variable because as methods are always called with object.
posted 8 years ago
out is a static field in System that has been assigned an object of class PrintStream. So you can call any methods of that class. [ April 15, 2008: Message edited by: Ulf Dittmer ]
Oh. Hi guys! Look at this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user