14 lines
150 B
Java
Executable File
14 lines
150 B
Java
Executable File
class StoreSomethingObj
|
|
{
|
|
Object something;
|
|
|
|
Object get()
|
|
{
|
|
return something;
|
|
}
|
|
|
|
void set(Object some)
|
|
{
|
|
something = some;
|
|
}
|
|
} |