Entries tagged as Java

What is design by contract?

On December 27, 2010 / By admin / In Java / No Comments
The design by contract specifies the obligations of a method to any other methods that may use its services and also theirs to it. For example, the preconditions specify what the method required to be true when the method is called. Hence making sure that preconditions are. Similarly, postconditions specify what must be true when Read More...
Tags:

What is polymorphism?

On December 26, 2010 / By admin / In Java / No Comments
Polymorphism means “having many forms”. It allows methods (may be variables) to be written that needn’t be concerned about the specifics of the objects they will be applied to. That is, the method can be specified at a higher level of abstraction and can be counted on to work even on objects of un-conceived classes. Read More...
Tags:

How the object oriented approach helps us keep complexity of software development under control?

On December 25, 2010 / By admin / In Java / No Comments
We can discuss such issue from the following aspects: Objects allow procedures to be encapsulated with their data to reduce potential interference. Inheritance allows well-tested procedures to be reused and enables changes to make once and have effect in all relevant places. The well-defined separations of interface and implementation allow constraints to be imposed on Read More...
Tags:

What is a Container in a GUI?

On December 24, 2010 / By admin / In Java / No Comments
A Container contains and arranges other components (including other containers) through the use of layout managers, which use specific layout policies to determine where components should go as a function of the size of the container. Read More...
Tags:

SEO Powered By SEOPressor