what is the difference between the following two objects. Both will print "I am tuna". My point here is I have difficulty to understand the difference between the 'food' data type and 'tuna' data type. Any help will be greatly appreciated. Thanks!
class food {
   public void talk(){System.out.println("I am food");
   }
}
class tuna extends food {
   public void talk(){System.out.println("I am tuna");
   }
}
class runThisProgram{
   public static void main(String[] args){
      food f = new tuna();
      tuna t = new tuna();
      f.talk()
      t.talk()
   }
}
