In some situation (viewing in different browsers) the single <td> tag displays content in two lines. If you want to display sentence in single line always in all browsers then use <td> attributes ‘nowrap’For example,you may want username/userid/Name to be displayed in single line,...
9/29/11
9/24/11
HeapSort ( array Based) implementation in Java
There are two types of heaps. First one is Max heap and second one is Min heap. Heap (Max/Min) is a special type of binary tree.The roots of the max heap is greater than its child roots. Other heap is Min heap it is also a special type of heap which has minimum root than his child. We can sort...
9/17/11
Binary Search Tree : Basics
A Binary Tree is a tree data structre in which each node has atmost two child nodes, usually called as 'left' and 'right' child respectively.
Binary Tree...
9/12/11
OOPs Concept: Encapsulation
Encapsulation is one of the four fundamental OOP concepts. The other three are inheritance, polymorphism, and abstraction. RFAZHE7YNFV8
Encapsulation is the technique of making the fields in a class private and providing access to the fields via public methods. If a field is declared private,...
9/7/11
Java Modifiers Summary
The Modifier class provides static methods and constants to decode class and member access modifiers. The sets of modifiers are represented as integers with distinct bit positions representing different modifiers.
RFAZHE7YNFV...
9/1/11
SortableStack implementation in Java
I am implementing an interface for Stack which will help to push and pop in O(n) time and help in finding the highest, lowest and the middle element in O(1) time.
I will be using Arraylist (since I m using a standard jdk 6 and not some other package) because with using this we can implement...