Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

1)

Statement I only.

2)

Statement II only.

3)

Statement III only.

4)

Statements I and II only.

5)

Statements I and III only.

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:

1)

int numElements = values.length;

2)

int numElements = values.length();

3)

int numElements = values.size();

4)

int numElements = values.size;

5)

double numElements = values.size;

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:

1)

Statement I only.

2)

Statement II only.

3)

Statement III only.

4)

Statements I and III only.

5)

Statements II and III only.

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:

1)

Statement I only.

2)

Statement II only.

3)

Statement III only.

4)

Statements I and II only.

5)

Statements II and III only.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Transaction Processing

Authors: Philip M. Lewis, Arthur Bernstein, Michael Kifer

1st Edition

0201708728, 978-0201708721

More Books

Students also viewed these Databases questions

Question

Describe ERP and how it can create efficiency within a business

Answered: 1 week ago

Question

explain what is meant by redundancy

Answered: 1 week ago