Casting
By julie111
@julie111 (44)
2 responses
@silvermoney (241)
• 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.
@simi_1309 (23)
• 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