Question
a.
class
b.
struct
c.
int
d.
none of the mentioned
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which of these keywords is used to make a class?
Similar Questions
Discover Related MCQs
Q. Which of the following is a valid declaration of an object of class Box?
View solution
Q. Which of these operators is used to allocate memory for an object?
View solution
Q. Which of these statement is incorrect?
View solution
Q. Which of the following statements is correct?
View solution
Q. What is the return type of a method that does not return any value?
View solution
Q. What is the process of defining more than one method in a class differentiated by method signature?
View solution
Q. Which of the following is a method having same name as that of it’s class?
View solution
Q. Which method can be defined only once in a program?
View solution
Q. Which keyword is used by the method to refer to the object that invoked it?
View solution
Q. Which of the following is a method having same name as that of its class?
View solution
Q. Which operator is used by Java run time implementations to free the memory of an object when it is no longer needed?
View solution
Q. Which function is used to perform some action when the object is to be destroyed?
View solution
Q. What is true about private constructor?
View solution
Q. What would be the behaviour if this() and super() used in a method?
View solution
Q. What is false about constructor?
View solution
Q. What is true about Class.getInstance()?
View solution
Q. What is true about constructor?
View solution
Q. Abstract class cannot have a constructor.
View solution
Q. What is true about protected constructor?
View solution
Q. What is not the use of “this” keyword in Java?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!
Operating System
Dive deep into the core of computers with our Operating System MCQs. Learn about...
Software Engineering
Learn about the systematic approach to developing software with our Software...