I have a simple question about interfaces and abstract classes. My professor wanted to use my calculator php program in class as an example, but he told me to add an interface first. Everything I have read online seems like you run one or the other abstract or interface.
Would I be able to add an interface before my abstract class and extended class? My code looks basically like this:
Interface?
Abstract class calc
{
Code
}
New class calculations extends cal
{
Code
}