The role of software measurement is increasing, leading to the development of new measurement techniques. Many metrics have been developed related to the various Object-Oriented (OO) constructs like class, coupling, cohesion, polymorphism inheritance, information hiding. The objective of this metrics is to show relationships between the existing design metrics and chances of fault detection in classes. The main objective is to provide empirical evidence to draw the strong conclusions across studies. The authors used the data collected from Java applications for constructing a prediction model. With the implementation of CK and MOOD metrics suites the programmer as well as students will get benefit to test their software against the quality and also to learn the concept of quality.