What is casting?

Answer Posted / dsr

The object will be convert into another object type through
casting. This is known as cating

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

583


What is balanced tree in java?

531


How do you get length in java?

553


What is difference between java and java ee?

553


What is generics in java interview questions?

537






Which is better ascii or unicode?

560


What is core java used for?

505


How we can execute any code even before main method?

549


How to change the priority of thread or how to set the priority of thread?

611


what is meant by abstract class?

646


What's the difference between int and integer in java?

529


What is the SimpleTimeZone class?

1794


Is string serializable in java?

538


What are class members by default?

653


Can we have a try block without catch block?

563