Java Programming
primer-original-v2mediumJavaOOPAbstract ClassInterfaceprimer-original-v2

Which statement is true about abstract classes and interfaces in Java?

Answer options

A
An abstract class can have constructors; an interface cannot
B
An interface can have instance variables
C
A class can extend multiple abstract classes
D
An abstract class cannot have concrete methods

Correct answer: An abstract class can have constructors; an interface cannot

Explanation

Quick AnswerThe correct answer is An abstract class can have constructors; an interface cannot because it directly addresses the core logic of Java Programming.

This question has been retained as-is due to its unique context.

Related Java Programming questions

Practice more Java Programming questions

PrimerPrep has independently reviewed practice questions and coding exercises — all free.