how to assign an owner??help me out
package com.codegym.task.task02.task0213;
/*
Pets need people
*/
public class Solution {
public static void main(String[] args) {
Cat cat = new Cat();
Dog dog = new Dog();
Fish fish = new Fish();
Woman woman = new Woman();//write your code here
}
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 {
}
}