~cpp private int _low, _high; boolean includes (int arg){ return arg >= _low && arg <= _high; }
~cpp private int _low, _high; boolean includes (int arg){ return arg >= getLow() && arg <= getHigh(); } int getLow() {return _low;} int getHigh() {return _high;}
~cpp String[] row = new String[3]; row [0] = "Liverpool"; row [1] = "15";
~cpp Performance row = new Performance(); row.setName("Liverpool"); row.setWins("15");
~cpp double potentialEnergy(double mass, double height){ return mass * 9.91 * height; }
~cpp double potentialEnergy(double mass, double height){ return mass * GRAVITATION_CONSTNAT * height; } static final double GRAVITATIONAL_CONSTANT = 9,81;
~cpp public String _name;
~cpp private String _name; public String getName() {return _name;} public void setName(String arg) { _name = arg;}