I know that abstract class can only be referenced but not initialized.
InputStream is an abstract class. But in the
System class I see the following declaration,
So to use something like System.in.read(), variable
in needs to be initialized.
But how
java initialize a reference to an abstract class. Or do System.in is initialized as 'console input stream' somewhere that extends InputStream.