<s>
Oak	B-Language
is	O
a	O
discontinued	O
programming	O
language	O
created	O
by	O
James	O
Gosling	O
in	O
1989	O
,	O
initially	O
for	O
Sun	O
Microsystems	O
 '	O
set-top	O
box	O
project	O
.	O
</s>
<s>
The	O
language	O
later	O
evolved	O
to	O
become	O
Java	B-Language
.	O
</s>
<s>
The	O
name	O
Oak	B-Language
was	O
used	O
by	O
Gosling	O
after	O
an	O
oak	B-Language
tree	O
that	O
stood	O
outside	O
his	O
office	O
.	O
</s>
<s>
The	O
team	O
originally	O
considered	O
using	O
C++	B-Language
,	O
but	O
rejected	O
the	O
idea	O
for	O
several	O
reasons	O
(	O
see	O
Java	B-Language
history	O
)	O
.	O
</s>
<s>
Initially	O
,	O
Gosling	O
attempted	O
to	O
modify	O
and	O
extend	O
C++	B-Language
but	O
soon	O
abandoned	O
that	O
in	O
favor	O
of	O
creating	O
a	O
new	O
platform	O
called	O
Green	O
and	O
an	O
entirely	O
new	O
language	O
,	O
which	O
he	O
called	O
Oak	B-Language
,	O
after	O
the	O
tree	O
that	O
stood	O
just	O
outside	O
his	O
office	O
.	O
</s>
<s>
By	O
the	O
summer	O
of	O
1992	O
,	O
they	O
were	O
able	O
to	O
demonstrate	O
portions	O
of	O
the	O
new	O
platform	O
including	O
the	O
Green	O
OS	B-General_Concept
,	O
the	O
Oak	B-Language
language	O
,	O
the	O
libraries	O
,	O
and	O
the	O
hardware	O
.	O
</s>
<s>
Their	O
first	O
attempt	O
,	O
demonstrated	O
on	O
September	O
3	O
,	O
1992	O
,	O
focused	O
on	O
building	O
a	O
PDA	B-Application
device	O
named	O
Star7	O
which	O
had	O
a	O
graphical	O
interface	O
and	O
a	O
smart	O
agent	O
called	O
"	O
Duke	O
"	O
to	O
assist	O
the	O
user	O
.	O
</s>
<s>
Oak	B-Language
was	O
renamed	O
Java	B-Language
in	O
1994	O
after	O
a	O
trademark	O
search	O
revealed	O
that	O
Oak	B-Language
was	O
used	O
by	O
Oak	B-Language
Technology	O
.	O
</s>
<s>
Java	B-Language
1.0	O
was	O
finally	O
shipped	O
in	O
1996	O
.	O
</s>
<s>
Oak	B-Language
was	O
the	O
basis	O
for	O
what	O
Java	B-Language
1.0	O
became	O
later	O
,	O
but	O
there	O
were	O
also	O
some	O
differences	O
:	O
</s>
<s>
Several	O
concepts	O
were	O
planned	O
in	O
the	O
Oak	B-Language
specification	O
but	O
were	O
not	O
implemented	O
in	O
the	O
original	O
language	O
because	O
of	O
time	O
constraints	O
:	O
</s>
<s>
Unsigned	B-Algorithm
primitive	O
types	O
turned	O
out	O
never	O
to	O
be	O
implemented	O
in	O
Java	B-Language
.	O
</s>
<s>
The	O
enum	B-Language
keyword	O
for	O
enumerated	B-Language
types	I-Language
was	O
implemented	O
in	O
Java	B-Language
for	O
Java	B-Language
5.0	O
.	O
</s>
<s>
Other	O
concepts	O
were	O
different	O
from	O
,	O
or	O
improved	O
later	O
,	O
for	O
Java	B-Language
:	O
</s>
<s>
Abstract	O
methods	B-Language
were	O
defined	O
as	O
in	O
C++	B-Language
.	O
</s>
<s>
While	O
the	O
Oak	B-Language
default	O
access	O
level	O
was	O
the	O
same	O
as	O
Java	B-Language
's	O
(	O
default	O
)	O
package	B-Language
private	I-Language
access	O
level	O
,	O
it	O
was	O
called	O
"	O
private	O
"	O
.	O
</s>
<s>
Oak	B-Language
did	O
not	O
have	O
an	O
equivalent	O
to	O
Java	B-Language
's	O
private	O
access	O
modifier	O
.	O
</s>
<s>
All	O
exceptions	B-General_Concept
were	O
unchecked	O
.	O
</s>
<s>
It	O
was	O
possible	O
by	O
the	O
unprotect	O
keyword	O
to	O
write	O
code	O
that	O
would	O
not	O
signal	O
asynchronous	O
exceptions	B-General_Concept
.	O
</s>
<s>
There	O
was	O
some	O
support	O
for	O
Design	B-Application
by	I-Application
Contract	I-Application
:	O
Oak	B-Language
had	O
assertions	O
whereby	O
Class	B-Application
variable	I-Application
could	O
be	O
constrained	O
and	O
the	O
constraints	O
were	O
enforced	O
at	O
entry	O
and	O
exit	O
of	O
every	O
public	O
and	O
protected	O
method	O
of	O
the	O
class	O
.	O
</s>
<s>
Methods	B-Language
could	O
also	O
have	O
their	O
own	O
pre-conditions	O
and	O
post-conditions	O
,	O
which	O
were	O
inherited	O
but	O
not	O
redefinable	O
in	O
a	O
subclass	O
.	O
</s>
