In this work, an approach that aims to manage variability by using feature model and a simple code generator in object oriented applications is developed. This method provides practically develop configurable object oriented applications. An application that is developed with respect to the method takes a configuration file including user selections in a domain, as an input so that the application can manage and automatically configure itself with user selections. In order to implement this method, there are some main rules that should be obeyed. First of all, variability points and commonalities in a specific domain is described and a feature model is designed with respect to them. Then, the code generator developed for the method presented in this specification automatically generate intelligent source code drafts. In the next step, developers will develop the implementation of the generated code using data structures that take into account the commonalities and variabilities of the application. This application can work for all configurations that contain user selections that will be input. Thus, the variances in the scene will be reflected directly and automatically to the object-oriented application via the feature model.