Latest From My Blog

Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

Example use of array

Case: There are 1000 people who want to create statistics and the birth month of birth in most anything.
To get the month of birth randomly, Random class is used (for the real case, months of birth obtained from the database).

Example the use of 3-dimensional array

Case: there are 1000 people (male and female) will be made statistical data of gender, birth month, birth day and I was born in the most in the month, day and gender what? To get sex, month and day of birth at random, Random class is used (for the case of real month and day of birth obtained from the database).
sourceprint view?

Example 2-dimensional array

Case: I have the 1000 statistical data will be made birth month, birth day and I was born in the most hours and days what? To get the month and day of birth at random, Random class is used (for the case of real month and day of birth obtained from the database).
sourceprint view?

How to make Floating Bottom Banner without Javascript

Many examples and source codes required javascript to build floating banner. In this example I only use CSS without javascript. There are two models frequently used, top banner and bottom banner. Be Careful if you use at bottom and it’s floating. User may feel it’s annoying but not much as pop up banner. Take a great look to your user and website before user it.
+