Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Java What is the difference between a class and an interface 1.Classes have fiel

ID: 3720611 • Letter: J

Question

Java

What is the difference between a class and an interface

1.Classes have fields and methods and interfaces have only methods

2.Classes have only concrete methods and interfaces have abstract methods

3.Classes can have concrete or abstract methods and interfaces have only abstract methods

4. You can inherit from classes but not from interfaces

1.Classes have fields and methods and interfaces have only methods

2.Classes have only concrete methods and interfaces have abstract methods

3.Classes can have concrete or abstract methods and interfaces have only abstract methods

4. You can inherit from classes but not from interfaces

Explanation / Answer

3. Classe can have concrete or abstract methods and interface have only abstract methods

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote