Lec06 - OOP/Java - Adding Behavior in Object

preview_player
Показать описание
Object Oriented Programming using Java in Urdu / Hindi

This video explains following:
1. What is behavior in object oriented design context
2. What is the benefit of defining actions/behavior in related class
3. How we add methods to represent the behavior inside class
4. How to call methods using object reference
5. Why we should not pass data in methods, that the object already hold
6. What are instance variables and local variables
Рекомендации по теме
Комментарии
Автор

You teachh really reallyy well I am studying in 2nd semester from comsats lahore from sir shahid bhatti but he isn't teaching like in that deep way your videos are helping alottt

ahmadsaqib
Автор

sir aik masla arha ha ham ap na ju prectice link dia ha wo nahi arahay questions ju ap na updata kia ha wo araha ha is ki kia waja ha

Muhammad-xgfp
Автор

Sir kindly share the code of the task.
Thank you

HAMZASABIR-ey
Автор

Sir if every object has its unique functionality and for example, they use the same class state so we make methods in the class or we make methods in the main class for objects?

SaifAli-stwf
Автор

Sir Practice tasks ke solutions he kia ?

rehanazeem
Автор

sir so far you haven't taught about "static" keyword .... but here in task 2 we declared a non-static variable (name and balance) .... and we also declared 2 static methods (deposit and withdraw)... now it is giving an error that "non static variable cannot be referenced from a static context"

gameration
Автор

sir how can we modify our balance attribute after taking the user input of amount.

ahmadirtisam
Автор

Sir slides ka link share kr de (of lec 6 & 7).

fawadta
welcome to shbcf.ru