‹ Back to the paper
Question 38
1 mark
Computer ScienceISC Computer Science - Competency Focused Practice Questions (CISCE, August 2024)Short answerPrimitive values, Wrapper classes, Types and casting
Answer the following question.
While using Wrapper classes, we do not need to import any package. Give a reason.
Answer
Answer
Wrapper classes belong to the java.lang package, and java.lang is imported into every Java program automatically by the compiler, so no explicit import statement is needed to use them.