answersLogoWhite

0


Best Answer

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

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between automatic type conversion and explicit type conversion?
Write your answer...
Submit
Still have questions?
magnify glass
imp
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"


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


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.


What is the difference between conversion and theft?

Nothing


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 ....


What is the difference between implicit and explicit theory?

explicit is the market value of all inputs purchased by a producer while implicit cost is the market value of inputs owned by the producer himself.


What is the difference between an explicit an implicit metaphor?

An implicit metaphor implies something, an explicit metaphor explicitly makes something known, probably without doubt.


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

nothing. this is a dream