I need your help guys. I don't know if I'm ignoring something but I have an error every time I try to compile the code
package com.codegym.task.task05.task0514;
/*
A programmer creates a person
*/
public class Solution {
public static void main(String[] args) {
//write your code here
Person p = new Person();
p initialize("clara", 26);
}
static class Person {
//write your code here
String name;
int age;
public void initialize(String name, int age){
this.name = name;
this.age = age;
}
}
}