Home > Class 12 Computer Science (C++) > Quizzes > Classes and Objects In Java (MCQs)
Classes and Objects In Java (MCQs)
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 22% Most missed: “Class methods are declared as________and can be referred without any object in t…”
Classes and Objects In Java (MCQs)
Time left 00:00
25 Questions

1. In 2-D array, each name is stored in different row and all names have different number of______
2. Method booleanequalslgnore Case (String str) returns_______if invoking string is same as str after ignoring case (case insensitive).
3. Individual variable elements of an array marks [5] can be accessed as
4. String______returns a string with all characters of invoking string converted to lowercase.
5. For example_________can be seen as a collection of one or more scalar variables.
6. ________is used to represent two dimensional (2-D) data structures like table or rows and columns.
7. String______returns a string with all characters of invoking string converted to uppercase.
8. Array with______dimension is known as 1-D array.
9. What is the full form of GMT ?
10. An_______is a variable representing a collection of homogeneous type of elements.
11. For 2-D array_______property returns number of rows.
12. Array being an object in Java, array name is also a______variable.
13. With String object length is a_______
14. Method void________copies characters of invoking string fromlndx to tolndx-1 to target array from targetlndx onwards.
15. To refer an element of an array, an index or subscript is used in______after array variable name.
16. With array variable, length is an______or property of array;
17. String ( ) without arguments create a________object with no character.
18. A______can be used with array of bytes as an argument.
19. ______arrays are used to store tabular data in the form of rows and columns.
20. A String class provides methods for______task.
21. int marks [ ] f ] = new int [5] [3], the logical view of array elements is a table of_________
22. ________is a collection of homogeneous type of data.
23. 1-D array is initialized using_______separated values of data elements in braces { }.
24. When two String objects are created using same string literals, memory space is not allocated for______object.
25. Index value starts from_______

⚡ Recently practiced quizzes in this topic
Live quiz activity