JAVA Data-types-and-type-casting Online Test
Advertisement
Advertisement
Instructions:
- Total number of questions: 10.
- Time allotted: 10 minutes.
- Each question carries 1 mark.
- No negative marks.
- DO NOT refresh the page.
- All the best :-)
What You Will Learn:
This Java Data Types and Type Casting Online Test helps you to Boost your Knowledge in Java. In this test, we cover topics in the form of questions like:
- All 8 primitive data types (byte, short, int, long, float, double, char, boolean) and their memory sizes.
- 16-bit Unicode character representation in char vs 8-bit ASCII.
- Widening (implicit) type casting vs Narrowing (explicit) type casting.
- Arithmetic promotion rules (automatic promotion of byte and short operands to int).
- Handling overflow and underflow wrap-around during narrowing type casts.
Advertisement
Advertisement
Advertisement
Java Data-types-and-type-casting Online Test
Question 1 of 10
Time Remaining:
10:00
Score:
0 /
10
Loading...
0% Complete
Advertisement
Advertisement