C Sharp (C#) - Interfaces
Identify the error in this interface declaration:
interface ICalculator { private int Add(int a, int b); }interface ICalculator { private int Add(int a, int b); }private on the method Add is invalid in an interface.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions