Java - Interfaces
What is the correct way to call a static method
calculate() defined inside an interface MathOps?calculate() defined inside an interface MathOps?MathOps.calculate() correctly calls the static method. Creating instances or calling directly is invalid.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions