Difference between instance and Object
Printable View
Difference between instance and Object
Hi,
ya there are some differences.
like..
Class A {}
A obj1; //this is the object declaration without occupy any memory..
A obj2 = new A(); //this is the object instance with occupy memory for this..
also we can't create an instance for abstract class as well as for interface..
why swing is called lightweight component
why swing is called lightweight ?
read this page u know abt that
[url=http://www.geekinterview.com/question_details/20266]Java Swing - Lightweight components differ from heavy weight componants not because of one of the following reaso[/url]