adplus-dvertising
frame-decoration

Question

What are generic methods?

a.

Generic methods are the methods defined in a generic class

b.

Generic methods are the methods that extend generic class methods

c.

Generic methods are methods that introduce their own type parameters

d.

Generic methods are methods that take void parameters

Answer: (c).Generic methods are methods that introduce their own type parameters

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What are generic methods?

Similar Questions

Discover Related MCQs

Q. Which of these type parameters is used for a generic methods to return and accept any type of object?

Q. Which of these type parameters is used for a generic methods to return and accept a number?

Q. Which of the following allows us to call generic methods as a normal method?

Q. Which of these types cannot be used to initiate a generic type?

Q. Which of these instance cannot be created?

Q. Which of these data type cannot be type parameterized?

Q. Which of these is wildcard symbol?

Q. What is use of wildcards?

Q. Which of these keywords is used to upper bound a wildcard?

Q. Which of these is an correct way making a list that is upper bounded by class Number?

Q. Which of the following keywords are used for lower bounding a wild card?

Q. Which of the following is not an Enterprise Beans type?

Q. Which of the following is not true about Java beans?

Q. Which file separator should be used by MANIFEST file?

Q. Which of the following is correct error when loading JAR file with duplicate name?

Q. Java Beans are extremely secured?

Q. Which of the following is not a feature of Beans?

Q. What is the attribute of java bean to specify scope of bean to have single instance per Spring IOC?

Q. Which attribute is used to specify initialization method?

Q. Which attribute is used to specify destroy method?