Start learning →

ICSE Class 10 String Handling and Wrapper Classes — practice questions

Explore 96 free String Handling and Wrapper Classes questions in ICSE Class 10 Computer Applications. Open each question or exercise to read its content, reference answers and available explanation.

Practise String Handling and Wrapper Classes with Quill →

String Handling and Wrapper Classes questions and exercises with answers

Showing questions 1–30 of 96.

What does a wrapper class encapsulate in object-oriented programming?Read the answer and worked solution →How many primitive data types are wrapped by primitive wrapper classes?Read the answer and worked solution →What kind of types are instances of wrapper classes in Java?Read the answer and worked solution →Which class is the superclass of Byte, Short, Integer, and Double?Read the answer and worked solution →Which property describes the wrapper classes BigDecimal and BigInteger?Read the answer and worked solution →In what way do atomic wrapper classes differ from regular wrapper classes?Read the answer and worked solution →Which operation is atomically provided by atomic wrapper classes?Read the answer and worked solution →Which package introduced mutable atomic wrapper classes in Java 5.0?Read the answer and worked solution →What is the process of placing a primitive type within an object?Read the answer and worked solution →What operation extracts a primitive value from its wrapper object?Read the answer and worked solution →What term describes automatic application of boxing and unboxing?Read the answer and worked solution →What state mutability typically characterizes a boxed object?Read the answer and worked solution →Why can repeated boxing of values degrade runtime performance?Read the answer and worked solution →What component automatically provides the code that creates boxed objects?Read the answer and worked solution →Which method can compare two boxed objects for equality of value?Read the answer and worked solution →Which Java SE version introduced generic collections and autoboxing?Read the answer and worked solution →Where are the standard primitive wrapper classes defined in Java?Read the answer and worked solution →Which wrapper class corresponds to the primitive type char in Java?Read the answer and worked solution →What do Java collection classes store rather than primitive data types?Read the answer and worked solution →Which static method parses a string into an int in Java?Read the answer and worked solution →Why can the class java.lang.Void not be instantiated in Java?Read the answer and worked solution →What integer value corresponds to the constant Integer.MAX_VALUE?Read the answer and worked solution →What category of values does the class java.lang.Number represent?Read the answer and worked solution →Which nested type inside java.lang.Character defines Unicode blocks?Read the answer and worked solution →What is a string traditionally defined as in programming?Read the answer and worked solution →What is a string that appears literally in source code called?Read the answer and worked solution →How does Java classify its built-in String data type?Read the answer and worked solution →Why are Java String objects categorized as immutable?Read the answer and worked solution →What do string manipulation functions return in Java?Read the answer and worked solution →Which mutable string class in Java provides thread safety?Read the answer and worked solution →

Worked practice questions

What does a wrapper class encapsulate in object-oriented programming?

  1. Types
  2. Files
  3. Ports
  4. Nodes
Show answer and solution

Correct answer: A. Types

A wrapper class encapsulates types so they can be used to form object instances.

Open this question →

How many primitive data types are wrapped by primitive wrapper classes?

  1. Four types
  2. Eight types
  3. Six types
  4. Ten types
Show answer and solution

Correct answer: B. Eight types

Primitive wrapper classes encapsulate the eight primitive data types in Java.

Open this question →

What kind of types are instances of wrapper classes in Java?

  1. Non-primitive
  2. Primitive
  3. Volatile
  4. Ephemeral
Show answer and solution

Correct answer: A. Non-primitive

Instances of wrapper classes are non-primitive objects that wrap primitive values.

Open this question →

How to practise

  1. Choose a String Handling and Wrapper Classes question and try to work out your answer.
  2. Open the question to check the correct answer and read its worked solution.
  3. Continue in the app for bite-sized lessons, explanations and review with Quill. You can start without creating an account.

Put it into practice

Continue with String Handling and Wrapper Classes practice for ICSE Class 10. Read explanations as you go. No signup form needed to start.

Practise String Handling and Wrapper Classes →

More Computer Applications topics