Submitted by heartin on Thu, 10/18/2012 - 11:28
In object oriented programming or in Unified Modelling, relationships between objects can be classified as association, aggregation, composition and inheritance.
Association
Association is a relationship between two objects. Here objects might not be completely dependent on each other.
Submitted by heartin on Wed, 09/12/2012 - 03:43
Object-Oriented Programming (OOP) uses "objects" to model realworld objects. Object-Oriented Programming (OOP) consist of some important concepts namely Encapsulation, Polymorphism, Inheritance and Abstraction. These features are generally referred to as the OOPS concepts.
Submitted by heartin on Sat, 08/25/2012 - 01:18
Java doesn't allow operator overloading yet + is overloaded for class String. Here we will discuss examples for use of + with Strings and characters.
Submitted by heartin on Tue, 08/21/2012 - 04:26
We have discussed the theory about access modifiers in the previous note. This note will give you an example code that will show the valid and invalid usages for members belonging to different access levels from different regions of your code such as same class, subclass in same package, subclass in another package and a non-subclass in another package.
Pages