1

Topic: Whether how to define the interface is supported?

Greetings! How to make the following://There are two (or more) the interface.//custom interface 1 interface INotifiable {void notify ();}//custom interface 2 interface ISerializable {void serialize ();} INotifiable obj =...;//received object if (obj supports also ISerializable) {to save obj in a file}

2

Re: Whether how to define the interface is supported?

Hello, Maxim Rogozhin, you wrote: instanceof in the help