मराठी

Which of the following keywords is used to create an instance of a class? - Computer Applications

Advertisements
Advertisements

प्रश्न

Which of the following keywords is used to create an instance of a class? 

पर्याय

  • New

  • Public

  • Class

  • Main

MCQ

उत्तर

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
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.02: Elementary Concept of Objects and Classes - EXERCISES [पृष्ठ १६]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.02 Elementary Concept of Objects and Classes
EXERCISES | Q I. 1. | पृष्ठ १६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×