Skip to content

Instantly share code, notes, and snippets.

@alexo
Created December 13, 2012 20:40
Show Gist options
  • Save alexo/4279608 to your computer and use it in GitHub Desktop.
Save alexo/4279608 to your computer and use it in GitHub Desktop.
public class Person {
public final String name;
public final int age;
Person(final String name, final int age) {
this.name = name;
this.age = age;
}
}
class Person(val name: String, val age: Int)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment