✏️ Explanatory Question
[Primitive Values, Wrapper Classes, Types and Casting]
The following statement will generate a compile time error.
This can be rectified in 2 different ways, without losing precision of price.
Write these statements:
float price = 17.99;
The following statement will generate a compile time error. This can be rectified in 2 different ways, without losing precision of price. Write these statements: