Which of the following type conversions occurs automatically without explicit casting?

Choose the correct answer

Explanation

Automatic type promotion in programming languages like Java allows smaller data types to be converted to larger data types without explicit casting. Conversions such as byte to int, short to int, and int to long happen implicitly. However, converting a long to an int requires explicit casting because it may result in data loss. Therefore, int to long is a valid automatic conversion.

Which of the following type conversions occurs autom… — Java concepts and its programming | PakQuizHub