Browse Today's favorites or All time favorites.
Please Sign In or Register to share and submit your questions.
Java Queries
Complete java interview questions library
Home » Interview Questions » Core Java Interview Questions » What is casting?
What is casting?
There are two types of casting, casting between
primitive numeric types and casting between object references. Casting between
numeric types is used to convert larger values, such as double values, to
smaller values, such as byte values. Casting between object references is used
to refer to an object by a compatible class, interface, or array type
reference.
Follow up with a Thank-You Note
Make sure you let the interviewer know how pleased you were to have the chance to interview with him or her. Immediately after the interview, send the interviewer a thank-you note, thanking him or her for taking time to interview you.
Write a comment