5 Eylül 2010 Pazar
Multithreading - Introduction
›
It would be nice if we could focus our attention on performing only one action at a time and performing it well, but that is usually difficu...
30 Ağustos 2010 Pazartesi
final Methods and Classes
›
Variables can be declared final to indicate that they cannot be modified after they are initialized—such variables represent constant val...
Case Study: Payroll System Using Polymorphism
›
We use an abstract method and polymorphism to perform payroll calculations based on the type of employee.We create an enhanced employee hier...
Abstract Classes and Methods
›
When we think of a class type, we assume that programs will create objects of that type. In some cases, however, it is useful to declare cla...
29 Ağustos 2010 Pazar
Object Oriented Programming: Polymorphism-Introduction
›
Polymorphism enables us to “program the general” rather than “program in the specific.” In particular, polymorphism enables us to write pro...
Object Class
›
Method Description clone This protected method, which takes no arguments and returns an Object reference, makes a copy of the object o...
Software Engineering with Inheritance
›
When a new class extends an existing class, the new class inherits the non-private members of the existing class. We can customize the new c...
28 Ağustos 2010 Cumartesi
Relationship between Superclasses and Subclasses
›
In this essay, we use an inheritance hierarchy containing types types of employees in a company`s payroll application to discuss the relatio...
Object Oriented Programming: Inheritance - Superclasses and Subclasses
›
Often, an object of one class is an object of another class as well. For example, in geometry, a rectangle is a quadrilateral ( as a squares...
Object Oriented Programming: Inheritance - Introduction
›
This essay continues our discussion of object-oriented programming (OOP) by introducing one of its primary features - inheritance , which is...
Ana Sayfa
Web sürümünü görüntüle