Home > DeveloperSection > Interviews > What is casting:

Posted on    October-25-2010 12:00 AM

 Java Java 
 1 Answer(s)
  821  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Posted on    November-08-2010 1:00 AM

Casting refers to changing an entity of one datatype into another. This is important for the type conversion in developing any application. If you will store a int value into a byte variable directly, this will be illegal operation. For storing your calculated int value in a byte variable you will have to change the type of resultant data which has to be stored.

Don't want to miss updates? Please click the below button!

Follow MindStick