Contenu connexe
Plus de Shahid Rasheed (6)
Java Instantiation
- 2. Declaration
We have declared 3 References of type Point.
J ava References are Variables but they can hold
Object memory address like Pointers.
- 7. Are these two objects (or One) ?
How we can set X &Y of the first object ?
It is not possible without Reference or calling a Method.