Which of the following is a method having same name as that of its class?
A) finalize
B) delete
C) class
D) constructor
Correct Answer:
Verified
Q2: Name the keyword that makes a variable
Q3: Variables declared with in a class are
Q4: Variables declared within a method or block
Q5: Defining methods with same name and different
Q6: _ is used to initialize objects.
A)Methods
B)arguments
C)constructors
D)new keyword
Q8: Which operator is used by Java run
Q9: Which of these access specifiers must be
Q10: Which of these is used to access
Q11: The keyword used to create an object
A)class
B)this
C)new
D)malloc
Q12: The keyword used to refer the current
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents