Can you answer these questions?

Can you answer these questions?


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.

2 thoughts on “Can you answer these questions?

  1. ravi raj

    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{
    }

Leave a Reply

Your email address will not be published. Required fields are marked *