answersLogoWhite

0

In programing languages automatic type conversion occurs when the language automatically changes a variable between different types for you. For example changing a number type to a string type. It usually does this because the type you are using is incompatible with the operation you are trying to preform, so it converts it to a new type which is compatible for you.

Explicit conversion requires that you, the programmer, explicitly code the details on how the conversion is to take place.

While automatic type conversion is convenient the conversion may not perform exactly how you expect. For example converting between a floating point number , e.g. 3.5 to an integer - will the system round the floating point number to 4 , or will it truncate the number to 3?

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

Difference between automatic buffering and explicit buffering?

Explicit buffering is also known as "Zero Capacity Buffering" where it has maximum length of 0. Automatic buffering can be either "Bounded Capacity Buffering" or "Unbounded Capacity Buffering"


What is the difference between automatic buffering and explicit buffering?

Explicit buffering is also known as "Zero Capacity Buffering" where it has maximum length of 0. Automatic buffering can be either "Bounded Capacity Buffering" or "Unbounded Capacity Buffering"


What is the difference between explicit attitudes, which are consciously held and easily reported, and implicit attitudes, which are unconscious and automatic?

Explicit attitudes are consciously held beliefs that individuals are aware of and can easily report. Implicit attitudes, on the other hand, are unconscious and automatic beliefs that influence behavior without individuals being aware of them.


Explain the difference between an explicit and an implicit lock?

clearly


What is the difference between explicit and implicit?

explicit is clearly stated and implicit is not clearly stated


What is the difference between conversion and theft?

Nothing


How do we convert between an int to a char?

With an explicit cast, for example (in Java): int i = 0; char c; c = (char) i; Please note that data may be lost in such a conversion; the explicit cast basically tells the compiler "go ahead; I know what I am doing". Without an explicit cast, the compiler won't accept the conversion.


Difference between implicit and explicit conversions?

Explicit is something precisely and clearly communicated, while implicit is something implied though not directly expressed.


What is the difference between automatic and computerized?

both have same meaning.


What is the difference between implicit and explicit objects?

Explicit means properly and clearly declared.....will give you the full meaning Implicit means not properly defined....will not give you the exact meaning ....


Is there a power difference between automatic and manual transmission?

yes alot


What is the difference between a manual and automatic differential count?

nothing. this is a dream