19 lines
220 B
Java
Executable File
19 lines
220 B
Java
Executable File
class StoreSomethingObjCon
|
|
{
|
|
Object something;
|
|
|
|
StoreSomethingObjCon(Object some)
|
|
{
|
|
something = some;
|
|
}
|
|
|
|
Object get()
|
|
{
|
|
return something;
|
|
}
|
|
|
|
void set(Object some)
|
|
{
|
|
something = some;
|
|
}
|
|
} |