Which Among The Following Is True For Data Members #258
Which among the following is true for data members?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Class Members & Types - Object Oriented Programming MCQ: Data Members - Quiz No.1.
Which among the following is true for data members?
Private data members can be initialized with declaration in class
Static members are initialized in constructors
Protected data members can be initialized in class directly
Static data members are defined outside class, not in constructor