Клево, теперь можно писать код


public class MyClass {

private int myInt = -1;

public int getMyInt() {
return this.myInt;
}

public void setMyInt(int myInt) {
this.myInt = myInt;
}
}



class Person
attr_reader :name, :age
def initialize(name, age)
@name, @age = name, age
end
def <=>(person) # Comparison operator for sorting
@age <=> person.age
end
def to_s
"#@name (#@age)"
end
end





SELECT *
FROM Book
WHERE price > 100.00
ORDER BY title;