Computer Science, asked by worldgaming323, 2 days ago

What is meant by type conversion? How is an implicit conversion different from an explicit conversion?

Answers

Answered by 7dshanchitajaneciyas
2

Answer:

Implicit conversion is the conversion in which a derived class is converted into a base class like int into a float type. Explicit conversion is the conversion that may cause data loss. Explicit conversion converts the base class into the derived class

Explanation:

Mark as Brainliest❣️

Answered by pragyashreekalita61
1

Answer:

Type conversion is converting one type of data to another type. It is also known as Type Casting. In C#, type casting has two forms − Implicit type conversion − These conversions are performed by C# in a type-safe manner.

Implicit conversion is the conversion in which a derived class is converted into a base class like int into a float type. Explicit conversion is the conversion that may cause data loss. ... We may need to perform the conversion on different other data types, to do that we take the help of the helper class.

Similar questions