i am studying object orienting concepts in oracle and have some confusion in some terms
for example,i know how to create object type,but dont know what does mean not instantiable?
create or replace type compar_item_t as object(
com varchar2(50),
chint varchar2(254),
not instantiable member function getChint
return varchar2,
member function print
return varchar2
) not instantiable not final;
does not instantiable means that we can’t instantiable it?or what does last term means?i meant not instantiable not final; ?
I think this document might be helpful, if you’re not already familiar with it:
Which implies “it’s our product, so we’re making up our own terminology as we go along” 😉
Anyway, what does Oracle mean by “instantiable” (a word I’m not sure you’ll find in most dictionaries, and will probably be rejected by most spell-checkers ;))? From the same link:
So I guess “non-instantiable” is similar to an “abstract base type” or an “interface” in most other OOP languages.
IMHO…