Tag: fixing GUI component size

Can you answer these questions?

December 6, 2011 · 1 min read
1. Is it possible to create an object without new keyword?[Click here](http://way2java.com/java-lang/creating-object-without-new-keyword/) 2. How instanceof keyword is useful? [Click here](http://way2java.com/java-lang/instanceof-keyword/) 3. Why the methods of an interface should be overridden as public only? [Click here](http://way2java.com/oops-concepts/rules-of-access-specifiers-in-method-overriding/) 4. Size of the button depends on whom? Is it on layout manager or button itself?[Click here](http://way2java.com/awt-components/java-preferred-size-%e2%80%93-component-size/).