It keeps saying it needs ';' at line 11, position 221. I've double checked everything and made sure that there was a ';' after everything that needed it.
package com.codegym.task.task02.task0204;
/*
Family relations
*/
public class Solution {
public static void main(String[] args) {
Man man = new Man();
Woman woman = new Woman();
Woman woman.husband = Man;
Man man.wife = Women;
}
public static class Man {
public int age;
public int height;
public Woman wife;
}
public static class Woman {
public int age;
public int height;
public Man husband;
}
}