Plzz help me out with this
package com.codegym.task.task02.task0213;
/*
Pets need people
*/
public class Solution {
public static void main(String[] args) {
//write your code here
Cat cat = new Cat();
Dog dog = new Dog();
Fish fish = new Fish();
Woman woman = new Woman();
woman = cat.owner;
woman = dog.owner;
woman = fish.owner;
}
public static class Cat {
public Woman owner;
}
public static class Dog {
public Woman owner;
}
public static class Fish {
public Woman owner;
}
public static class Woman {
}
}