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 Mon, 09/24/2012 - 02:04
Custom Exceptions are user defined Exception classes that extend either Exception class or RuntimeException class.
Submitted by heartin on Mon, 09/24/2012 - 00:56
An exception is a divergence from an application’s normal behavior. Read about exception hierarchy in Java, checked and unchecked exceptions, and how to handle exceptions in Java.
Submitted by heartin on Wed, 09/19/2012 - 22:14
A class represent the properties and behabiour of an object. An methods represent these behaviours.
Submitted by heartin on Wed, 09/19/2012 - 02:29
A variable is something that can hold some data. Class variables or static variables belong to class. Instance variables are non-static variables belong to objects. Local variables are local within blocks or methods and they die when we exit that block or method.
Pages