Consider the following code int val = arr[0][3]; Which value is stored in the Va
ID: 3573050 • Letter: C
Question
Consider the following code int val = arr[0][3]; Which value is stored in the Val variable? The value stored: In the first row and the second column In the fact row and the first column In the first row and the fourth column In the third row and the second column How many elements can be stored in a two-dimensional 3 row by 7 columns 2D array? 5 6 21 30 A method in a class that modifier information about an object is called a/an method. void accessor mutator constructor Which of the following statements about constructors is correct? A class can have only one constructor. A constructor should always return a value. A constructor must have the same name as the class. A class must have at least one constructor supplied by the programmer. Which operator should you use to test whether two references point to the same object? -- !-Explanation / Answer
//solutions
12.
option:c
First row and Fourth coloum
explanantion:0th index means 1st element and hence 3rd index means 4th element
13.option c
21 elements
explanation:each row can hold 7 elements because colums are 7.so total 3 rows .Hence 21
14.
option b
explanation:accessor
15.option c
constructor must have same name as that of class
16.option a
==
explntion:this means equal to
17.option d
18.opton c
private access
explanaton:
visibility:
- means private,+means public ,# menas protected and ~ means package.all literals come under single quotes
19.
option A
object oriented
20.
option A
inside the methods of same class
21
option c
they have dfferent parameter lists
22.option b
object 's memory addree
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.