Was mache ich falsch.
package de.codegym.task.task02.task0202;
/*
Woher kommt eine Person?
*/
public class Solution {
public static void main(String[] args) {
//schreib hier deinen Code
//Object Person;
Person person;
person = new Person();
//person = null;
}
public static class Person {
//schreib hier deinen Code
String name ="toto";
int alter = 25;
int gewicht = 70 ;
int geld = 100;
}
}