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

'A class is a template for an object' explain this statement.

539


How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

567


Explain the difference between association, aggregation and inheritance relationships.

546


Is a class an object?

569


What is the purpose of static methods and static variables?

533






How do you achieve singleton?

521


What about instanceof operator in java?

590


Can we make the abstract methods static in java?

579


What are 3 data types?

536


What are the restrictions imposed by a Security Manager on Applets?.

2056


Explain java coding standards for interfaces?

618


Can an interface extend a class?

531


Is array an object in java?

541


What is the method to expand and collapse nodes in a jtree?

601


Explain the difference between protected and default access.

510