If you are working on a Java Project that requires data storage and manipulation, a Java interface could be of great help to you. The “PreparedStatement” interface, under “java.sql” package, pre compiles and stores your SQL statements in an object to efficiently execute the said statement multiple times. There are setter methods that you have [...]
October 29, 2007
Categories: Java, Programming Languages . . Author: ajison . Comments: 2 Comments
Limiting the decimal points/places of a double/float value is very important mostly when you are dealing with average or amount. Usually, the JVM presents the maximum number of decimal places depending on the type used. Apparently, having more than three decimal points could be disturbing. Other languages like Turbo C/C++ deals with this by just [...]
October 5, 2007
Categories: Java, Programming Languages . Tags: decimal places, double, float, Java, limit . Author: ajison . Comments: 4 Comments