Computer Architecture and Programming Languages
This page discusses - Computer Architecture and Programming Languages.
Packages - Installing
A .jar file is basically a .zip file plus a little extra information. This file may contain one or more packages, and all the classes in them. If it knows where to find the ..
Java Software Structures
Designing and Using Data Structures, 2/E, by John Lewis and Joseph Chase.
Ford and Topp, Data Structures with Java, Errata
Ford and Topp, Data Structures with Java, Errata.
My Favorite Java Books
The following books aren't going to give the absolute beginner a simple enough start..
For C++ programmers
Java inherited many features from C++, but some of the important differences are mentioned below..
Other Java Resources
In this section you learn the Other Java Resources..
Java Software
You need sofware to develop your Java programs..
NetBeans IDE
NetBeans is a free, open-source, IDE which is available at www.netbeans.org. This is a reasonable choice, and liked by many programmers..
JUnit and Test-Driven Development
One of the big changes in software engineering, and part of the agile methodology shift, is Test Driven Development (TDD)..
Javadoc
Javadoc is a utility that extracts documentation from source files and produces HTML documentation files..
Deployment
About the Deployment.
Style and Correctness Checkers
Style and Correctness Checkers in Java..
Ant
Ant is the most commonly used "make" facility for Java programs..
TextPad Editor + JDK
Entering, compiling, and executing your Java program in TextPad.
Java Development Kit (JDK)
The most popular Java compiler is Sun's Software Development Kit (JDK) (aka the Software Development Kit (SDK)). It's free, and does a good job..
Text Editors
An common alternative to using an Integrated Development Environment (see IDEs) is to use a text editor, then compile and run the program using Sun's Java Software Development Kit (SDK)..
IDEs
There are many good, free, IDEs (Integrated Development Environments) that provide substantial advantages over the use of simple text editors for Java program development..
Programming
Here are some tips on making programming student problems easier..
Java Notes: Tools
You need software tools to build Java programs..
Packages - Defining
Packages correspond to directories in the file system..
Packages - Importing
Multiple classes of larger programs are usually grouped together into a package..
Directories and Files
Put all source files into a directory, one class per file.
CLASSPATH
CLASSPATH tells Java where to search for programs..
Java vs. C
Is Java easier or harder than C?.
Java Virtual Machine
The key to Java's portability and security is the Java Virtual Machine..
History of Java
Java was designed by Sun Microsystems in the early 1990s to solve the problem of connecting many household machines together. This project failed because no one wanted to use it..
Java: Weaknesses
Java is arguably the best overall programming languages, but there are problems with it..
Java: Strengths
Java is an excellent programming language..
GUI - Swing vs. AWT
The original graphical user interface (GUI) for Java was called the Abstract Windowing Toolkit (AWT)..
Applets
These notes were originally written using applets almost entirely..
Compiling a Java program
Turning a Java source program into an object program takes a couple of steps..
Applications - text example
A typical MS Windows application has an extension of .exe, but in Java it will usually end with a .class or .jar extension..
Java Notes: Acknowledgements
I'd like to thank the students at the following universities where I've had the pleasure of teaching..
Java: Garbage Collection
Garbage collection is the process of automatically finding memory blacks that are no longer being used ("garbage"), and making them available again..
Java: Language Complexity
Many programming language features are designed reduce program complexity, with varying success..
Java: Programs
Kinds of Programs.
Java: Preface
These notes were started to fill in areas that textbooks didn't adequately teach..