English

Which of the following packages contain string functions? - Computer Applications

Advertisements
Advertisements

Question

Which of the following packages contain string functions?

Options

  • java.awt

  • java.string

  • java.math

  • java.lang

MCQ

Solution

java.lang

Explanation:

The java.lang package comprises core classes, including the String class, which provides string functions like length(), charAt(), equals(), compareTo(), substring(), and others.

shaalaa.com
  Is there an error in this question or solution?
Chapter 4: String Handling - EXERCISES [Page 287]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 4 String Handling
EXERCISES | Q I. 8. | Page 287
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×