6 years ago in Java Generics

Which of these Exception handlers cannot be type parameterized?

[A] catch
[B] throw
[C] throws
[D] All of the mentioned
Loading...
Next Question

Create your Digital Resume For FREE on your name's sub domain "yourname.wcard.io". Register Here!


Overall Stats

Attempted 193
Correct 45
Incorrect 39
Viewed 109

Answers

Guest
Guest
Smile - 1 year ago

All of the mentioned

Pand Nikku
Pand Nikku - 4 months ago

Pand Nikku is saying All of the mentioned is correct answer

Hoàng Mai Phương
Hoàng Mai Phương - 7 months ago

Hoàng Mai Phương is saying All of the mentioned is correct answer

Bharath
Bharath - 9 months ago

Bharath from Hyderabad, India is saying All of the mentioned is correct answer

jean-michel michel
jean-michel michel - 11 months ago

jean-michel michel from Toulouse, France is saying throw is correct answer

Related Questions

Which of the following cannot be Type parameterized?

  • [A] Oveloaded Methods
  • [B] Generic methods
  • [C] Class methods
  • [D] Overriding methods

Which of the following is incorrect statement regarding the use of generics and parameterized types in Java?

  • [A] Generics provide type safety by shifting more type checking responsibilities to the compiler.
  • [B] Generics and parameterized types eliminate the need for down casts when using Java Collections.
  • [C] When designing your own collections class (say, a linked list), generics and parameterized types allow you to achieve
  • [D] All of the mentioned

Why are generics used?

  • [A] Generics make code more fast.
  • [B] Generics make code more optimised and readable.
  • [C] Generics add stability to your code by making more of your bugs detectable at compile time.
  • [D] Generics add stability to your code by making more of your bugs detectable at run time.

Which of these is an correct way of defining generic class?

  • [A] class name(T1, T2, …, Tn) { /* … */ }
  • [B] class name { /* … */ }
  • [C] class name[T1, T2, ..., Tn] { /* … */ }
  • [D] class name{T1, T2, …, Tn} { /* … */ }