Answer Posted / niranjanravi
Casting betrween object references is to refer to a object
compatible by class or interface or array type reference.
|Is This Answer Correct ?||7 Yes||1 No|
When will we use them?
Differece between class and generic class?
What is a finally block?
Define a java class.
Why wait and notify methods are declared in object class?
What is the symbol for line break?
What is a singleton puppy?
Do we need to manually write Copy Constructor?
What are design patterns and please explain?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
What is use of set in java?
Why do we need autoboxing in java?
What is classname class in java?
Can a class be private in java?
What will happen if a thrown exception is not handled?