unable to rectify the error
package com.codegym.task.task02.task0204;
/*
Family relations
*/
public class Solution {
public static void main(String[] args) {
Man man;
Woman woman;
man=new Man();
woman=new Woman();
man.wife=woman;
woman.husband=man;
}
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;
}
}