Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Abstract code vs Classes and Interfaces

user-0rzxiFeb 10 2023 — edited Feb 10 2023

Hello,

I had a query about abstraction in Java.
In Java, does abstract code must use abstract classes or interfaces?
Is there any other way to use abstract code?

Thanks,
Cfir

Comments
Post Details
Added on Feb 10 2023
2 comments
744 views