What is casting?

Answer Posted / sandeep sagala

casting is the process that allows lower data type to hold the
data of higher data type and also the higher data type to
hold the lower data type only by using reference

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you do absolute value in java?

626


Can we create our own daemon thread?

617


What occurs when an object is constructed?

654


Does java set allow duplicates?

623


What class of exceptions are generated by the java run-time system?

740






Explain differences between collection api and stream api?

709


What are the advantages of autoboxing?

635


Can I learn java without any programming experience?

673


What is defined as false sharing in the context of multithreading?

619


What is difference between calling start() and run() method of thread?

653


Can a top level class be private or protected?

682


What is the difference between compile-time polymorphism and runtime polymorphism?

660


How do you square a number in java?

665


What is meant by inheritance and what are its advantages?

686


What is the size of int in 64-bit jvm?

633