computer. java
state the type of conversion used here
int b= 'A'
kindly reply if u know the answer
Answers
Answered by
10
When you assign value of one data type to another, the two types might not be compatible with each other. If the data types are compatible, then Java will perform the conversion automatically known as Automatic Type Conversion and if not then they need to be casted or converted explicitly. For example, assigning an int value to a long variable.
Similar questions
Science,
3 months ago
Social Sciences,
8 months ago
Computer Science,
1 year ago
English,
1 year ago
English,
1 year ago