When can an object reference be cast to an interface reference in java programming?
Answer / Abhay Verma
An object reference can be cast to an interface reference if the object is an instance of the class that implements the interface.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the % operator?
what is difference between length and length()?
what is difference between type 4 driver and type 1 driver?
2 Answers CMC, CTS, IBM, JK Technosoft, Napier Healthcare,
What is static binding and where it occurs?
adapter class ?
How do you use find and replace?
Can a static member function access member variable of an object?
What is tcp and udp?
What are MalformedURLException and UnknownHost Exceptions and whey they will be thrown?
when a servlet sends request for first time it uses the follwing methods a)init b)doget() c)dopost() d)service
What are three ways in which a thread can enter the waiting state in java programming?
Will the compiler creates a default constructor if I have a parameterized constructor in the class?