Advertisements
Advertisements
Question
Which of the following keywords is used to create an instance of a class?
Options
New
Public
Class
Main
MCQ
Solution
New
Explanation:
To create an instance (or object) of a class in object-oriented programming (e.g., Java, C#, etc.), use the new keyword.
shaalaa.com
Is there an error in this question or solution?