Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

Creating object - Nepali

This is a sample video. To access the full content,
please Login

932 visits



Outline:

*एउटा अब्जेक्ट एउटा क्लासको प्रतिलिपि हो *हरेक अब्जेक्टको अवस्था र व्यबहार हुन्छ *अब्जेक्टले आफ्नो अवस्था फिल्ड वा भ्यारीएबलमा भण्डार गर्छ *यसले आफ्नो व्यबहार मेठोड़बाट देखाउछ *Reference भ्यारीएबल *एउटा TestStudent नामक क्लास बनाउने * Student क्लासको एउटा अब्जेक्ट बनाउने * new अपरेटर प्रयोग गर्ने *रेफरेन्स भ्यारीएबलमा के छ जाच्ने * Student क्लासको अर्को एउटा अब्जेक्ट बनाउने र रेफेरेंस भ्यारीएबलमा के छ जाच्ने