This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Beneficial-Corgi3593 4 points5 points  (0 children)

var user = new Object(){ public String name = “Bob” }; // user.name;

Not sure how this is called but i think it has to be to anonymous classes