Hi, i suppose the second form of fact is not supported. but i'd like to confirm.

in other words, you can only have setters and getters that return basic java types. is that right? can i return java collections such as array and map? the documentation is not clear on that.

thanks.

public class Paint
{
    String getName();
    String getColor();
}


public class Car
{
    int getSize();
    Paint getPaint();
}


jack.




Got a little couch potato?
Check out fun summer activities for kids.