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.

Using this keyword - Persian

553 visits



Outline:

this استفاده از کلیدواژه جاری می باشد object این یک مرجع برای از مغایرت اسم جلوگیری می کند برای فراخوانی دیگری استفاده کنیم constructor در داخل this ما میتوانیم از کلیدواژه ها باید در یک کلاس باشند Constructor explicit constructor فراخوانی این را توضیح دهید parameterized constructor با استفاده از کد قرار دهید constructor این دستور را در آخر یک اشتباه بدست می آورید باشد constructor این باید دستور اول در داخل