13) Suppose array a is int [] {1, 2, 4);, what is a [1] -a(2)? a= A. 1 C. 2 E. N
ID: 3737407 • Letter: 1
Question
13) Suppose array a is int [] {1, 2, 4);, what is a [1] -a(2)? a= A. 1 C. 2 E. None of the above 14) What is y after the following switch statement? int x0 int y0 switch (x1) case 0: y-1; break; case 1: y= 2; break; default: y-3; A. 1 B. 2 C. 0 E. None of the above 15) Analyze the following code. What is the value of count displayed? class Count public class Test f private int counti public static void main (String args) Count myCountnew Count int ties0 public Count (int c) count-C for inti-0; iExplanation / Answer
ANSWER:-
Question (1) option (d) -2
Question (2) option (B) 2
Question (3) option (B) 101
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.