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 - Persian

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

568 visits



Outline:

object ایجاد کردن از یک کلاس می باشد instance یک object یک از حالت و رفتار تشکیل شده است object هر یا متغیرها ذخیره می کند fields که حالت را در object این رفتار خود را از طریق متدها نشان می دهد متغیرهای مرجع را ایجاد کنید TestStudent یک کلاس با نام را ایجاد کنید Student از کلاس object یک را استفاده کنید new اپراتور بررسی کنید که متغیرهای مرجع شامل چه می باشند ایجاد و ببینید که متغیرمرجع شامل چیست student از کلاس object یک