Creating a class instance
To create a new instance of a class, use the operator new
Coordinate w;// w
w = new Coordinate();// w
null
x ?
y ?
Previous slide
Next slide
Back to first slide
View graphic version