Showing posts from December, 2011

Find the day of your date of birth in java

Here are the steps : Step 1
read date of birth as three numbers dd, mm, yyyy (year in 4 digits)count the number of days, td,  from 1.1.1900 to (including both dates) For example, number of days from 1.1.1900 to 2.2.1900 is 33, (that is td=33). divide td by 7 and get the remainder R ( if td=33 then R=5 )

Eclipse and Java Video Tutorials Free Online Watch and Download

Eclipse and Java for Total Beginners
This free video tutorial will help get you started writing Java programs using Eclipse version 3.3. No prior experience with Eclipse or Java is assumed. The 16 lessons total about 3 1/4 hours and are each between 9 and 14 minutes long. The lessons guide you through a step-by-step process creating a simple "personal lending library" application. Each lesson is fully narrated.

Convert two dimensional array into one dimensional array in java

What is 2D array(matrix)?Two-dimensional arrays are defined as "an array of arrays". Since an array type is a first-class Java type, we can have an array of ints, an array of Strings, or an array of Objects. For example, an array of ints will have the type int[]. Similarly we can have int[][], which represents an "array of arrays of  ints". Such an array is said to be a two-dimensional array.