Class, Interface, Abstract, Static, Partial, Sealed

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
pairofstrings
Messages
411
Reaction score
7
Hi.
What do I call Instance Classes, Interface, Abstract Classes, Partial Classes, Static Class, Sealed Class collectively?
Thanks.
 
Physics news on Phys.org
It's grammar, maybe an API? I would just call them structures as all of them eventually boil down to a chunk of memory holding the members and a function table.
 
Except the interface doesn't boil down to some memory.

Interfaces are used as a datatype contract to say that the class that implements the interface supports the following methods.

A good example in Java, is the Runnable interface which if implemented by some class means that it will have a run() method for multi-threaded operations.