a Object Oriented configuring for OOP by using java