Question
What Is The "Delegation/Prototyping" Object-Oriented Paradigm?

Answers

This is the 1 Level System as Described under Meta-Classes. Delegation refers to the delegating of responsibility and can be applied to inheritance. When a derived class does not have a desired attribute, it "delegates" responsibility to one of its base classes. In delegation systems, each object has a delegate list instead of a parent list. Thus, delegation's primary emphasis is on message passing where an object could delegate responsibility of a message it couldn't handle to objects that potentially could (its delegates). Any object can be added to the delegate list, giving dynamic inheritance (of a sort). Typically, delegation and prototyping languages also have "part inheritance" in which fields and methods can be added and deleted from objects. This makes for easy "prototyping", which allows for objects to be constructed piece by piece at run-time, although the term "prototyping" in the context of delegation languages usually refers to objects serving as prototypes for object instantiation, or exemplars.

Next's NextStep OS provides delegation using Objective-C, providing an example of delegation in a class-based language [Garfinkel 93].   Your Comment






Search
Can you Answer!!
  • Q Which of the following should be of MOST concern to an IS auditor? A. Lack of reporting of a successful attack on the network B. Failure to notify police of an attempted intrusion C. Lack of periodic examination of access rights D. Lack of notification to the public of an intrusion
  • Q When the first Anglo Mysore war was fought?
  • Q What is digital zoom?
  • Q Does a grouping done for objects in the layout editor affect the grouping done in the data model editor?
  • Q What is Replication in MongoDB? Explain.
  • Q Sound Measured in?
  • Q How did novels explore and depict the world of women. Explain with example.
  • Q Who said "This game is about beating the crap out of everyone"
  • Q When the Pandavas had gone on a hunting expedition, the barking of one of their hunting dogs was silenced by seven arrows, stuck in its mouth. When Arjuna saw this, he was dumbfounded at the skill of the archer. Identify the archer.
  • Q What is the essential difference between an electron and a beta ray?
  • Q How does J2EE relate to Enterprise JavaBeans technology?