CSE MCQs :: JAVA MCQs
- Which of these class is superclass of String and StringBuffer class?
- Which of these operators can be used to concatenate two or more String objects?
- Which of these method of class String is used to obtain length of String object?
- Which of these method of class String is used to extract a single character from a String object?
- Which of these constructors is used to create an empty String object?
- Which of these is an oncorrect statement?
- Which of these method of class String is used to compare two String objects for their equality?
- Which of these methods is used to compare a specific region inside a string with another specific region in another string?
- Which of these method of class String is used to check weather a given object starts with a particular string literal?
- What is the value returned by unction compareTo() if the invoking string is less than the string compared?