Site hosted by Angelfire.com: Build your free website today!
Computer Programming
Programming Languages

Home

BASIC

C

C++

Java

Java Script


Post-Secondary Schools

Chubb Institute

ITT Technical Institute

Westwood College

Pioneer Pacific College

Cittone Institute

Allentown Business School

Tech Training

Lincoln Tech

University of Advancing Technology

Gibbs College

University of Pheonix

American InterContinental University

DeVry University

Java
Java was developed as a language by Sun Microsystems in 1995. They had in mind small computer devices for this programming langauge. This was later adapted by the computer industry as a platform independent language. Java compilers produce a bytecod that can be read on any platform and is free to download from the Sun microsystems homepage.

What can Java be used for?
Java wasn't developed for anything but small electronic devices. NOw java is everywhere and anywhere: palm pilots, PC's, Cell phones, business apps and more. Java is the most independant language. This independance is perfect for internet applications.

Example of Java
The code should be saved in a text file with a .java extension. // Classname must be same as filename.

public class test { // Variables private static String myText = "Hello, World"; private static String msg;

private static int myInt = 10;

// Main - Where the Action Starts public static void main(String args[]) {

// Print "Hello, World" to the screen. System.out.println("Hello, World\n");

// Multiplication for each value for (int i = 0; i <10; i++) {

// Print Calculations to Screen System.out.println(calc(i)); } }

// Handle the calculations public static String calc(int timesBy) {

// Put calculation into string msg = myInt + " x " + timesBy + "= " + (myInt * timesBy) + "\n";

// Return Calculation return msg; } } span>
(Information gathered from Codepedia: The developers encyclopedia - http://www.codepedia.com/1/BegiinnersGuideToJava)


Voting Booth
Grade of site upon first veiwing.
1 vote per person

O
S
U



 

Email me