+ 1
What is platform independent?
5 Respostas
+ 5
Assume object in real life,
You my friend are an object. You know why? Because you have state, identity and behaviour.
Either you sleep or awake- that's state,
You are uniquely identified with your name/address etc- That's identity,
You can cry, laugh or be rude- That's behaviour.
So, the same in programming,
An object is any entity which has a state, identity and behaviour.
+ 2
When a certain app is developed without worrying about the size of the screen nor the operator. A good one for this is C++
+ 2
Which simply doesn't depend on platform/OS.
Like Java,
We can execute Java program in any platform which have Java Development Kit installed in it, Unlike C/C++, which can only run in windows.
+ 1
what is object?