Programming Languages Java Mcq
Sep 24, 2025

What is the size of int data type in Java?

Choose the correct answer:
A) 2 bytes
B) 4 bytes
C) 8 bytes
D) Platform dependent
Detailed Explanation
int data type in Java is always 4 bytes (32 bits) regardless of platform.
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback