JAVA Methods
Description: Java | |
Number of Questions: 16 | |
Created by: Akash Patel | |
Tags: JAVA Java/Oracle /C/C++ |
Which of the following methods is used to extract a single character from a string?
The _______________ method searches for the first occurrence of a character or substring.
Which of the following methods is used to pre-allocate a space for a certain number of characters, after a StringBuffer has been constructed?
Which of the following methods returns the value of the invoking object as a byte?
Which of the following methods is used to find the execution of the various parts of a program?
The _________ method is used to perform a comparison that ignores the case differences, i.e. it considers A - Z to be the same as a - z.
Which of the following methods returns true, if the invoking object contains infinite values?
Which of the following methods returns the total number of bytes of the memory available to a program?
Which of the following methods displays the call stack for threads?
The ___________ method determines whether the string in the question ends with a specified string or not.
If we want to convert all the characters in a String object into a character array, we use the _________ method.
Which of the following package methods returns the name of the invoking package?
Which of the following interfaces enables you to work with a group of objects?
______________ collection class extends the AbstractList for a collection that uses sequential access, rather than the random access of its elements.
Which of the following thread group methods returns the number of threads in a group, along with the group, for which this thread is a parent?
Which of the following classes implements a dynamic array by extending the AbstractList?