How To Create An Object Inside A Class In Java