Can an object of a class be a member variable of some other class?
<p>In <code>System.out.println</code>,'out' is a member variable of System class and it's also an instance of PrintStream class.So can anyone please tell me whether out can be a member of System class which is an object of PrintStream class or not?And please highlight me about System.out.println.</p>
