Page 1 of 1

Which two reasons should you use interfaces instead of abstract classes? (Choose two.)

Posted: Sun Jun 11, 2023 4:01 pm
by answerhappygod
Which two reasons should you use interfaces instead of abstract classes? (Choose two.)

A. You expect that classes that implement your interfaces have many common methods or fields, or require access modifiers other than public.
B. You expect that unrelated classes would implement your interfaces.
C. You want to share code among several closely related classes.
D. You want to declare non-static on non-final fields. E. You want to take advantage of multiple inheritance of type.