Java 101: Packages organize classes and interfaces

Create packages, import packaged classes and interfaces into your programs, move packages, and encapsulate them in jar files.

09/06/02

Java 101: Understanding Java threads, Part 4: Thread groups, volatility, and thread-local variables

The "Understanding Java threads" series concludes by uncovering some of the loose ends of threading: thread groups, volatility, thread-local variables, timers, and thread death.

08/02/02

Java 101: Understanding Java threads, Part 3: Thread scheduling and wait/notify

Jeff Friesen keeps the Java 101 focus on Java threads this month, introducing the mechanisms that allow you to select and manage thread priority. Learn how thread scheduling, the wait/notify mechanism, and thread interruption should...

07/05/02

Java 101: Understanding Java threads, Part 2: Thread synchronization

Multithreaded programming brings a new order of complexity to Java threads, and you'll need some new tools to manage it successfully. In this second article in the Java 101 "Understanding Java threads" series, Jeff Friesen eases into...

06/07/02

Java 101: Understanding Java threads, Part 1: Introducing threads and runnables

Java application users have little patience with poor performance, and threading is one of the best tools we have for allocating application resources efficiently. Jeff Friesen spends the next four articles in the Java 101 series...

05/03/02

Java 101: Exceptions to the programming rules, Part 2

Last month's Java 101 article introduced you to exceptions. You learned that an exception diverges from normal execution and observed how C, C++, and Java programs handle exceptions. This month, I delve into Java's...

04/05/02

Java 101: Exceptions to the programming rules, Part 1

Apart from the simplest programs, programs usually fail. Causes range from coding mistakes to bad user input, to operating system flaws. Regardless of the failure's cause, as a software developer, you're charged with designing...

03/01/02

Java 101: Classes within classes

Learn the basics of nested top-level classes and inner classes in this Java 101 tutorial.

02/01/02

Java 101: Trash talk, Part 2

Java's garbage collection features tend to confuse new developers. I wrote this two-part series on garbage collection to dispel that confusion. Part 1 introduced you to garbage collection, explored various garbage collection...

01/04/02

Java 101: Trash talk, Part 1

One feature that distinguishes Java from other computer languages is its garbage collection abilities. In this article, Jeff Friesen introduces you to garbage collection and shows how Java's optional support for it affects your...

12/07/01

external url

Java 101: Class and object initialization

Jeff celebrates Java 101's first anniversary with this short primer on class and object initialization in Java programming.

11/02/01

Java 101: The ins and outs of standard input/output

Want to know more about standard Java I/O concepts like standard input, standard output, and standard error? Read on!

03/02/01

Applications, applets, and hybrids

Java 101 is evolving. Under new authorship, this column will continue to take you on an incredible journey into the world of Java -- a journey that you will not soon forget! This transition article establishes our bearings and sets...

11/03/00

Class action

In this installment of Java 101, Jacob Weintraub gives details on how to create a class in Java. He discusses using access modifiers to protect your data from unwanted manipulation, implementing constructors to initialize class...

09/01/00

Learn how to store data in objects

In this second installment of Java 101, Jacob Weintraub delves into storing data in Java and the various ways you can use that data. Specifically, he examines how objects store data and how you can pass data to objects in method...

07/07/00

Load More