Thursday, 2 March 2017

Core Java Assignment 6

Core Java Assignment 7

A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 6


Write a Java Program to create three interfaces, each with two methods. Inherit a new
interface from the three, adding a new method. Create a class by implementing the new

interface and also inheriting from a concrete class. Now write four methods, each of which
takes one of the four interfaces as an argument. In main( ), create an object of your class
and pass it to each of the methods.

No comments:

Post a Comment