Explain about automatic type conversion in java?
Answer / Chandan Kishore
Automatic Type Conversion, also known as Widening and Narrowing Primitive Conversions in Java, allows the compiler to convert values between different data types without an explicit cast. Widening conversions increase the size of a value (e.g., byte to int, char to int), while narrowing conversions decrease the size of a value (e.g., int to byte). The compiler performs automatic type conversion wherever necessary and automatically promotes or demotes values accordingly.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can a function return a function?
Does java vector allow null?
What is java ceil?
how to prepare for IT Officers Interview in Banks
1 Answers TATA, Tata Steel Limited,
Explain differences between checked and unchecked exceptions in java?
What is the need of transient variables in Java ?
Break statement can be used as labels in java?
How do you compare two objects?
How do I get a substring?
What are access specifiers available in java?
What do you understand by the term polymorphism?
Which class contains a method: cloneable or object?