RoseIndia.net

Java Tips and Examples

Programming Resource Home :: Java-Tutorials :: Java-Tips-and-Examples




Java Tips and Examples
Tutorial Integers
Java automatically converts decimal numbers you write in your source program into binary numbers internally. View Rating



Java Tips and Examples
Tutorial Array Review
Subscripts, Declaration, Allocation View Rating



Java Tips and Examples
Tutorial Sorting Arrays
Why you shouldn't write your own sort View Rating



Java Tips and Examples
Tutorial Arrays -- Multi-dimensional
All arrays in Java are really linear, one-dimensional arrays. However, you can easily build multi-dimensional arrays from these, and Java has features in the language to help you do this. View Rating



Java Tips and Examples
Tutorial Mean - average
Computing the arithmetic average (mean) can be done in one pass over all the array elements. View Rating



Java Tips and Examples
Tutorial Array - Maximum
There is one common variation on this -- sometimes it isn't the maximum value that is desired, but the index of the maximum value. View Rating



Java Tips and Examples
Tutorial Reverse an array
This version of reverse uses two subscripts: one that starts at the left (beginning) of the array, and one that starts at the right (end) of the array. View Rating



Java Tips and Examples
Tutorial Bubble Sorts
One nice aspect of bubble sorts is that they can quit early if the elements are almost sorted. View Rating



Java Tips and Examples
Tutorial Selection Sort
Selection sort is implemented with two nested loops. View Rating



Java Tips and Examples
Tutorial Arrays -- Examples
This applet shows a number of methods that use arrays. View Rating
Page:  [<<]   1   2   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27   28   29   30   31   32   33   34   35   36   37   38   39   40   41   42   43   44   45   46   47   48   49   50   51   52   53   54   55   56   57   58   59   60   61   62   63   64   65   66   67   68   69   70   71   72   73   74   75   76     [>>]


Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2004. All rights reserved.