Advertisements
Advertisements
प्रश्न
Which of the following packages contain string functions?
विकल्प
java.awt
java.string
java.math
java.lang
MCQ
उत्तर
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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?