Differentiate between the message and method.
Message * Objects communicate by sending messages to each other. * A message is sent to invoke a method. Method * Provides response to a message. * It is an implementation... Read more »
Message * Objects communicate by sending messages to each other. * A message is sent to invoke a method. Method * Provides response to a message. * It is an implementation... Read more »
A name clash occurs when a name is defined in more than one place. For example., two different class libraries could give two different classes the same name. If... Read more »
Object Oriented Development (OOD) (Booch 1991,1994). Object Oriented Analysis and Design (OOA/D) (Coad and Yourdon 1991). Object Modelling Techniques (OMT) ... Read more »
Persistent refers to an object’s ability to transcend time or space. A persistent object stores/saves its state in a permanent storage system with out losing the... Read more »
Aggregation is the relationship between the whole and a part. We can add/subtract some properties in the part (slave) side. It won’t affect the whole part. Best... Read more »
Before 1994 there were different methodologies like Rumbaugh, Booch, Jacobson, Meyer etc who followed their own notations to model the systems. The developers were... Read more »
The Three amigos namely, James Rumbaugh (OMT): A veteran in analysis who came up with an idea about the objects and their Relationships (in particular Associations). Grady... Read more »
Downcasting is the casting from a general to a more specific type, i.e. casting down the hierarchy. Read more »
No, because the methods can be called without using their return type in which case there is ambiquity for the compiler. Read more »
Object oriented programming languages directly represent the real life objects. The features of OOPL as inhreitance, polymorphism, encapsulation makes it powerful. Read more »
1. In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOP program, unit of program is object,... Read more »
An argument can be passed in two ways. They are Pass by Value and Passing by Reference. Passing by value: This method copies the value of an argument into the formal... Read more »
a) In overloading, there is a relationship between methods available in the same class whereas in overriding, there is relationship between a superclass method and... Read more »
A super class is a class that is inherited whereas sub class is a class that does the inheriting. Read more »
Inner class : classes defined in other classes, including those defined in methods are called inner classes. An inner class can have any accessibility including... Read more »
Multithreading is the mechanism in which more than one thread run independent of each other within the process. Read more »
Overriding is used to redefines only the methods, but shadowing redefines the entire element. Read more »
Python : Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, P e r l, Scheme or Java. Python combines remarkable... Read more »
A class that is declared without any access modifiers is said to have package access. This means that the class can only be accessed by other classes and interfaces... Read more »
A class does not inherit constructors from any of its super classes. Read more »