Answer the following statements true (T) or false (F)

1) A generic method cannot have the same method name as a nongeneric method.
2) All generic method declarations have a type-parameter list that immediately precedes
the method name.
3) A generic method can be overloaded by another generic method with the same method
name but a different number of type parameters.
4) A type parameter can be declared only once in the type-parameter list but can appear
more than once in the method’s parameter list.


1) False. A generic method can be overloaded by nongeneric methods.
2) False. All generic method declarations have a type-parameter list that immediately
follows the method’s name.
3) True.
4) True

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. The collections from the java.util.concurrent package are specifically designed and optimized for sharing collections among multiple threads. b. ConcurrentHashMap and ConcurrentLinkedQueue are by far the most frequently used concurrent collections. c. The concurrent collections have been enhanced to support lambdas. d. Rather than providing methods to support streams, the concurrent collections provide their own implementations of various stream-like operations—e.g., ConcurrentHashMap has methods forEach, reduce and search—that are designed and optimized for concurrent collections that are shared among threads.

Computer Science & Information Technology

Noncontiguous describes items that are ________ to one another

A) adjacent B) not adjacent C) not related D) related

Computer Science & Information Technology

Identify the correct formula to calculate the cumulative interest paid on a mortgage loan for the second year of the loan (periods 13-24, where rate =9%, nper= 5, present value = $250,000

A) =CUMIPMT(.09/12, 5*12, 250000,13,24,0) B) =CUMIPMT(.09/12, 5*12, 250000,24,13,0) C) =CUMIPMT(.09*12, 30/12,-250000,13,24,0) D) =CUMIPMT(.09/12, 30/12,-250000,24,13,0)

Computer Science & Information Technology

An IPS on a network is called a(n) __________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology