🐷
Categories
Random
Search
My bookmarks
Explore
Log In
Sign up
Back to categories
Java Programming
Page 1
Share
Why?
Interface (Java)
What is the purpose of a marker interface in Java?
A marker interface is used to declare a behavior that classes must implement
A marker interface is used to indicate that a class has a certain property or behavior
A marker interface is used to allow for multiple inheritance of classes
Was this a good question?
👍
👎
Share
Why?
Interface (Java)
What is the benefit of using interfaces in Java?
Interfaces allow for multiple inheritance of classes
Interfaces allow for classes to be instantiated
Interfaces allow for classes to be inherited
Was this a good question?
👍
👎
Share
Why?
Interface (Java)
What is an interface in Java?
A type of class that is used to declare a behavior that classes must implement
A type of class that can be instantiated
A type of class that can be inherited
Was this a good question?
👍
👎
Next