Category Archives: Learning

OOPS Design Tips

Here are Three OOPS Design Tips for you to use. 1. Public fields should be converted to public properties. 2. Do not allow inheritance of custom attributes. 3. Abstract Types Should not have Public Constructors Was this Helpful? Why not post a comment below!!!

Static Classes in C#

Static classes and class members are used to create data and functions that can be accessed without creating an instance of the class. Static class members can be used to separate data and behavior that is independent of any object identity: the data and functions do not change regardless of what happens to the object. […]

Explain Serialization

Wikipedia Definition In the context of data storage and transmission, serialization is the process of saving an object onto a storage medium (such as a file, or a memory buffer) or to transmit it across a network connection link in binary form. The series of bytes or the format can be used to re-create an […]

What is the Difference between PL/SQL And SQL?

SQL is a structured query language thats used to perform operations such as retrieval, updations,i nsertions etc. on database. It is used in MS SQL Server and Oracle and other databases. PL/SQL is a Programming language which is an extension for SQL with control structures added to them. Number of SQL statements can be written […]

What is a good object oriented design?

Dependencies Dependencies are relations ships between two entities that that a change in specification of one thing may affect another thing Generalization Generalization is relationships specified in the class subclass scenario, it is shown when one entity inherits from other Association Aggregation is a type of association where there is a has a relation ship, […]


In object-oriented programming, inheritance is a way to form new classes (instances of which are called objects) using classes that have already been defined. The new classes, known as derived classes, take over (or inherit) attributes and behavior of the pre-existing classes, which are referred to as base classes (or ancestor classes). It is intended […]

Some Concepts on OOPS

Metaphors from the real life are important inspiration when we program the computer. It is limiting – and in fact counterproductive – to focus only on the technical computer concepts (bits, bytes, CPUs, memory words, USB ports, etc). According to my favorite dictionary (the American Heritage Dictionary of the English Language) a metaphor is “a […]


In simple terms, polymorphism lets you treat derived class members just like their parent class’ members. Polymorphism is the process of using an operator or function in different ways for different set of inputs given. More precisely, polymorphism (object-oriented programming theory) is the ability of objects belonging to different types to respond to method calls […]


Definitions: A class that is derived from another class is called a subclass (also a derived class, extended class, or child class). The class from which the subclass is derived is called a superclass (also a base class or a parent class). Excepting Object, which has no superclass, every class has one and only one […]


In object-oriented programming, encapsulation is the inclusion within a program object of all the resources need for the object to function – basically, the methods and the data. The object is said to “publish its interfaces.” Other objects adhere to these interfaces to use the object without having to be concerned with how the object […]