1. Is it possible to create an object without new keyword?Click here
2. How instanceof keyword is useful? Click here
3. Why the methods of an interface should be overridden as public only? Click here
4. Size of the button depends on whom? Is it on layout manager or button itself?Click here.
1.why we cannot throw exception to object class since it can hold references of all clases Exception ?
2.can we write a class name predefined class name?
eg:class Object{
}
A class can never throw exception, only a method can throw.
You can write and keep in your own package.