August 24, 2007 9:57am CST
What is implicit casting?. Can you explain?
2 responses
• India
25 Jan 09
Type 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. Implicit casting is the process of simply assigning one entity to another without any transformation guidance to the compiler. This type of casting is not permitted in all kinds of transformations and may not work for all scenarios.
• India
14 Sep 07
implicit casting means when a change in the type of variable takes places automatically.this change is like byte,char advances to int and many such.but this casting is mainlyfrom lower to higher variable