21. |
Which of these statements is incorrect?
|
||||||||
Answer:
Option (d) |
22. |
Which of these methods return description of an exception?
|
||||||||
Answer:
Option (b) |
23. |
Which of these methods is used to print stack trace?
|
||||||||
Answer:
Option (b) |
24. |
Which of these methods return localized description of an exception?
|
||||||||
Answer:
Option (a) |
25. |
Which of these keywords is used to define interfaces in Java?
|
||||||||
Answer:
Option (a) |
26. |
Which of these can be used to fully abstract a class from its implementation?
|
||||||||
Answer:
Option (c) |
27. |
Which of these access specifiers can be used for an interface?
|
||||||||
Answer:
Option (a) |
28. |
Which of these keywords is used by a class to use an interface defined previously?
|
||||||||
Answer:
Option (c) |
29. |
Which of the following is the correct way of implementing an interface salary by class manager?
|
||||||||
Answer:
Option (b) |
30. |
Which of the following is an incorrect statement about packages?
|
||||||||
Answer:
Option (d) |