Opening book details…
Can I read Abstract Class vs Interface in Java on EtoBox?
Abstract Class vs Interface in Java by dev eloper is a document available to read on EtoBox.
What is Abstract Class vs Interface in Java about?
1. In this scenario, an interface would be useful because we only need to define the contract methods that vendors need to provide to get flight details and book flights, without knowing their specific implementations. 2. An abstract class could also work if we knew some behaviors but needed to leave certain methods abstract, like how to connect to vendors
- Author
- dev eloper
- Language
- EN