public class PJJJeden {
public static void main(String[] args) {
Person person = new Person();
person.name = "Mania";
person.surname = "Czeska";
person.birthYear = 2002;
//oraz klasa:
public class Person {
public String name;
public String surname;
public int birthYear;
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter