Concepts_Learned Flashcards
1
Q
Interface
A
https://en.wikipedia.org/wiki/Interface_(Java)
2
Q
Interface in Class
A
The syntax for implementing an interface uses this formula:
… implements InterfaceName[, another interface, another, …] …
3
Q
What happens if a class implements an interface and does not implement all its methods?
A
It must be marked as abstract.
4
Q
How does Interfaces affect Callbacks in Java?
A
Java has no Callbacks