User-defined Types JS++ supports user-defined types via the class keyword, interface keyword, and enum keyword. All user-defined types are - by default - internal types. Example 12345678910class Point{ int x; int y; Point(int x, int y) { this.x = x; this.y = y; }} The Point class above can now be used as follows: 1Point origin = new Point(0, 0); See Also class Keyword interface Keyword enum Keyword Share HTML | BBCode | Direct Link