What is casting?

Answer Posted / sarojlaxmi

Casting is the process of converting one primitive data
type to another primitive datatype that is called casting.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create more than one object singleton class?

565


What is integer valueof?

631


Why static functions are used?

559


Can we write multiple catch blocks under single try block?

560


How to convert string to char and vice versa?

505






Can inner class have constructor?

536


What does 0 mean in boolean?

532


Explain about collection interface in java?

536


Why array is used in java?

503


What is formatted output in java?

490


What is thread pool in java with example?

534


What are the drawbacks of singleton class?

521


How do you make an arraylist empty in java?

465


Why java is made?

555


Explain the Propertie sof class?

577