best answer > Can you have an abstract method in a non abstract class 2024?- QuesHub | Better Than Quora
The most authoritative answer in 2024
  • Oliver Hall——Works at the United Nations Office on Drugs and Crime, Lives in Vienna, Austria.

    Declaring a class abstract only means that you don't allow it to be instantiated on its own. Declaring a method abstract means that sub classes have to provide an implementation for that method. The two are separate concepts, but obviously you can't have an abstract method in a non-abstract class.read more >>
    +119962023-06-16 06:42:37

About “class abstract、method abstract、classes have”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消