PDA

View Full Version : What is implicit casting?


javaguru
22-12-2009, 08:23 PM
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.

Example

int i = 1000;

long j = i; //Implicit casting