HomeJava Programming Write a java program to implement method overriding | VCMIT byGaurav -March 13, 2020 0 Method Overriding INPUT class Human{ public void eat() { System.out.println("Human is eating"); } } class Boy extends Human{ public void eat(){ System.out.println("Boy is eating"); } public static void main( String args[]) { Boy obj = new Boy(); obj.eat(); } } OUTPUT Tags Java Programming Facebook Twitter