Give an example of an interface for adding two integers and concatenating two strings.

b) Give an example of an interface for adding two integers and concatenating two strings.
Hence, write a program for getting an object of interface through implementation class.

Leave a Reply