13 lines
210 B
Plaintext
13 lines
210 B
Plaintext
[source,apex]
|
|
----
|
|
public class Point { // In geometry, Point is a logical structure to group data
|
|
Integer x;
|
|
Integer y;
|
|
Integer z;
|
|
}
|
|
|
|
void setCoordinates(Point p1, Point p2) {
|
|
// ...
|
|
}
|
|
----
|