Object & Classes


  1. Which of the following exceptions is thrown by every method of Runtime class?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Every method of Runtime class throws SecurityException.


  1. Which of these classes encapsulate runtime environment?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Runtime



  1. Which of these is a super class of wrappers Double and Float?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Number is an abstract class containing subclasses Double, Float, Byte, Short, Integer and Long.


  1. Which of these methods loads the specified dynamic library?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    load() methods loads the dynamic library whose name is specified.



  1. Which of these methods initiates garbage collection?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    gc()