Home / CSE MCQs / Java 8 :: Discussion

Discussion :: Java 8

  1. Given a class named student, which of the following is a valid constructor declaration for the class?
  2. A.
    Student (student s) { }
    B.
    Student student ( ) { }
    C.
    Private final student ( ) { }
    D.
    Void student ( ) { }

    View Answer

    Workspace

    Answer : Option A

    Explanation :



Be The First To Comment