Object-Oriented Concepts
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
computer science crazy
Super Moderator

Posts: 3,048
Joined: Dec 2008
21-09-2008, 11:23 AM

Object-oriented techniques achieve further reusability through the encapsulation of programs and data. The techniques and mechanisms we shall discuss here are primarily concerned with paradigms for packaging objects in such a way that they can be conveniently reused without modification to solve new problems.

Instantiation and Object Classes
Instantiation is perhaps the most basic object-oriented reusability mechanism. Every programming language provides some built-in data types (like integers and floating-point numbers) that can be instantiated as needed. Objects may either be statically or dynamically instantiated. Statically instantiated objects are allocated at compile-time and exist for the duration that the program executes. Dynamically instantiated objects require run-time support for allocation and for either explicit deallocation or some form of garbage collection.

The next step is to provide a way for programmers to define and instantiate their own objects. This can be done by providing the programmer with a facility to define object classes, as is the case in Smalltalk. An object class specifies a set of visible operations, a set of hidden instance variables and a set of hidden methods which implement the operations. The instance variables can only be modified indirectly by invoking the operations. When a new instance of an object class is created, it has its own set of instance variables, and it shares the operations' methods with other instances of its class. A simple example is the class ComplexNumber. The programmer would define an interface consisting of the arithmetic operations that complex numbers support, and provide the implementation of these operations and the internal data structures. It would be up to the programmer to decide, for example, whether to use a representation based on Cartesian or polar coordinates. An alternative approach to instantiation is to use prototypical objects rather than object classes as the "template" from which new instances are forged. This is exactly what we do when we make a copy of a text file containing a document composed in a formatting language like TeX ~ or troff: we reuse the structure of the old document, altering its contents, and possibly refining the layout. This approach is useful to avoid a proliferation of object classes in systems where objects evolve rapidly and display more differences than similarities.
Use Search at http://topicideas.net/search.php wisely To Get Information About Project Topic and Seminar ideas with report/source code along pdf and ppt presenaion

Important Note..!

If you are not satisfied with above reply ,..Please


So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Tagged Pages: info 4 concepts com loc es, technical seminar on object oriented concept pdf, technical seminar on object oriented concepts,
Popular Searches: seminar topic on modern applications of object oriented languages, what is the seminar topics in jquery concepts, communication based concepts, 5g mobile concepts, dsp concepts, project oriented biomedical2010, seminar topic on object oriented,

Quick Reply
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  laminated object manufacturing ppt jaseelati 0 162 05-01-2015, 03:58 PM
Last Post: jaseelati
  Unbalanced Distribution System Short Circuit Analysis – An Object-Oriented pdf study tips 0 582 07-09-2013, 02:51 PM
Last Post: study tips
  KEY TERMS AND CONCEPTS REPORT project girl 0 459 18-01-2013, 11:48 AM
Last Post: project girl
  AVR32723: Sensor Field Oriented Control for Brushless DC motors with AT32UC3B0256 project girl 0 358 21-12-2012, 05:52 PM
Last Post: project girl
  Cellular Concepts ppt project girl 1 607 19-12-2012, 06:54 PM
Last Post: project girl
  Sinking and Sourcing Concepts pdf project girl 0 453 14-12-2012, 03:05 PM
Last Post: project girl
  DESIGN CONCEPTS OF 33/11kV NEW SUBSTATION PPT project girl 0 2,143 27-11-2012, 01:03 PM
Last Post: project girl
  Moving Object Tracking in Video full report project topics 3 3,525 24-11-2012, 12:18 PM
Last Post: Guest
  Directional Overcurrent Relaying (67) Concepts project girl 0 300 08-11-2012, 01:57 PM
Last Post: project girl
  PMSM Field Oriented Control project girl 0 413 07-11-2012, 11:24 AM
Last Post: project girl