Question
12 - Which of the following does not indicate a javadocs comment? I. // II. /* III. /** Question 12 options: 1) Statement I only.
12 - Which of the following does not indicate a javadocs comment?
I. // II. /* III. /**
Question 12 options:
|
| ||
|
| ||
|
| ||
|
| ||
|
|
13 - Assume that the following numbers belonged to an ArrayList called values.
5, 23, 45, -3, 17, 18, 100
Which of the following would determine how many elements are in values?
Question 13 options:
|
| ||
|
| ||
|
| ||
|
| ||
|
|
14 - Which of the following are not valid overloaded methods?
I. public void someMethod(int number1)
public void someMethod(String number3) public int someMethod(int number2)
II. public int someMethod(int number1) public double someMethod() public String someMethod(String number3)
III. public void someMethod() public double someMethod(double number1) public double someMethod()
Question 14 options:
|
| ||
|
| ||
|
| ||
|
| ||
|
|
15 - Which of the following correctly declares an ArrayList? (
I. ArrayList list = new ArrayList(); II. ArrayList list = new ArrayList(10); III. ArrayList = new ArrayList(10);
Question 15 options:
|
| ||
|
| ||
|
| ||
|
| ||
|
|
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started