Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

explain about casting of objects?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When will we use them?

239


Differece between class and generic class?

213


What is a finally block?

201


Define a java class.

207


Why wait and notify methods are declared in object class?

208






What is the symbol for line break?

188


What is a singleton puppy?

164


Do we need to manually write Copy Constructor?

215


What are design patterns and please explain?

217


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?

356


What is use of set in java?

168


Why do we need autoboxing in java?

167


What is classname class in java?

184


Can a class be private in java?

164


What will happen if a thrown exception is not handled?

232