9/29/11

How to avoid multiple lines in TD tag?

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/24/11

9/17/11

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...