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 class - Punjabi

1006 visits



Outline:

ਕਲਾਸ ਬਣਾਉਣਾ * ਇਸ ਸੰਸਾਰ ਵਿੱਚ ਜੋ ਕੁੱਝ ਵੀ ਅਸੀ ਵੇਖਦੇ ਹਨ ਸਾਰੇ ਆਬਜੇਕਟਸ ਹਾਂ । * ਆਬਜੇਕਟਸ ਨੂੰ ਸਮੂਹਾਂ ਵਿੱਚ ਵਰਗੀਕ੍ਰਿਤ ਕੀਤਾ ਜਾ ਸਕਦਾ ਹੈ , ਜਿਨ੍ਹਾਂ ਨੂੰ ਕਲਾਸ ਕਹਿੰਦੇ ਹਨ । * ਅਸਲੀ ਸੰਸਾਰ ਵਿੱਚ ਇਹ ਕਲਾਸ ਹੈ । * ਅਸਲੀ ਸੰਸਾਰ ਵਿੱਚ ਮਨੁੱਖ ਕਲਾਸ ਦੀ ਇੱਕ ਉਦਾਹਰਣ ਹੈ । * ਜਾਵਾ ਵਿੱਚ blue print ਕਲਾਸ ਹੈ , ਜਿਸਦੇ ਨਾਲ ਹਰ ਇੱਕ ਆਬਜੇਕਟਸ ਬਣਾਏ ਜਾਂਦੇ ਹਨ । * ਕਲਾਸ ਬਣਾਉਣ ਲਈ ਸਿੰਟੇਕਸ । * ਇਕਲਿਪਸ ਦਾ ਵਰਤੋ ਕਰਕੇ ਇੱਕੋ ਜਿਹੇ ਕਲਾਸ Student ਬਨਾਓ । * Student ਕਲਾਸ ਪਹਿਲਾਂ ਸ਼ਾਮਿਲ ਹੋ ਸਕਦਾ ਹੈ