Java Best practices
Monday, 16 January 2012
Literals
›
Look at the long value 5432l. Note the subtle difference in shape between the digit 1 at the beginning of the left operand and the lowerca...
1 comment:
Java IO Overview
›
We can diagrammatically cover how java io looks like from bird eye view. So this is basic java IO : Now looking at the class hierarchy :
Sunday, 15 January 2012
Playing with double datatype using Java
›
Do you guess the output values of the following code snippets (in Java) ? . double d5 =99999.99; ...
Saturday, 14 January 2012
Generic class names to avoid
›
Overview Java (Oracle Java update 2) has many classes with the same generic name. To avoid further confusion, I suggest avoiding these nam...
Java Puzzler - double chars
›
The following compiles and produces an output. Can you explain why? char ch = 'A'; ch *= 1.5; System.out.println(ch); // prints ...
Friday, 13 January 2012
Exception Wrapping for persistence
›
Data can be stored in various ways, for example: a relational database text files on the web (for example, fetching the weather forecast ...
Exceptions Methods
›
ollowing is the list of important medthods available in the Throwable class. SN Methods with Description 1 public String getMessage() Ret...
›
Home
View web version