Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explian following terms: Constraint Rules, Design by
contract.

Answer Posted / debalina

Design by contract :Design by contract, DBC or Programming
by contract is an approach to designing computer software.
It prescribes that software designers should define precise
verifiable interface specifications for software components
based upon the theory of abstract data types and the
conceptual metaphor of a business contract.Because "Design
by Contract" is a trademark of Eiffel Software, the
maintainers of Eiffel, many developers will refer to it
only as programming by contract or contract-first
development. The principal idea of Design by Contract (DBC)
is that a class and its clients have a contract with each
other: The client must guarantee certain conditions before
calling a method specialized on the class (the
preconditions), the class guarantees certain properties
after the call (the postconditions). If the pre- and
postconditions are included in a form that the compiler can
check, then any violation of the contract between caller
and class can be detected immediately.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what a method is?

1030


Can you use virtual, override or abstract keywords on an accessor of a static property?

979


Explain about encapsulation?

1003


What is meant by overloading functions and operators?

1032


What is the best tool for modeling and ORM framework

1012


Can we have default method with same name and signature in the derived interface as the static method in base interface and vice versa?

1029


What is the order of call of constructors in inheritiance?

996


What is the difference between oop and sop?

1364


Write about abstract base classes?

1008


Explain the implementation phase with respect to oop?

939


What are a base class, subclass, and superclass?

982


What are the types of polymorphism?

954


What are the access modifiers?

997


Can you create an instance for an abstract class?

930


Why do we use oops concepts? What is its advantage?

1051