MCQ Test
Previous Year Papers
Practice Questions
Video Courses
About
MCQ Test
Previous Year Papers
Practice Questions
Video Courses
About
Home
Practice
CORE JAVA PROGRAMMING
INTERFACES
Problem #475
Problem #475
CORE JAVA PROGRAMMING
Write a Java program to create a Animal interface with a method called bark() that takes no arguments and returns void. Create a Dog class that implements Animal and overrides speak() to print "Dog is barking".
Your Solution
Submit Solution
Reset