Hi,
I am new to
JAVA. I am reading "CoreJava" book. I ran into couple of the following statments in different programs. If you know, Could you explain it?
Toolkit tj = Toolkit.getDefaultToolkit() (Page # 273)
Here is ToolKit is abstract class. I do not understand the right side part of = sign. I assume tj object is being made. I know abstract classes can not be instantiated.
Same thing here too: Container contentPane = frame.getContentPane() // here frame is a class.
Thanks,
sk