SGML = Standard Generalized Markup Language, has been more popular in Europe.
It's better to use the ALIGN=CENTER attribute than the CENTER tag -- the WWW Consortium overruled Netscape on this one.
JavaScript, formerly LiveScript, is Netscape's invention. It's not as strict about declarations as Java.
Methods for objects can't have an arbitrary number of arguments. However, you can define different methods with the same name that handle different number of arguments. When called, the number of arguments determines which method is used.
It's important to specify image size via height and width attributes. This allows space to be set aside for the image and page layout to proceed without having to wait for the image to load. This Can also affect the loading order of associated script.
Currently, Java and JavaScript can't share objects.
A modal dialog is one that won't let you do anything but clear the dialog itself. This is an unfriendly technique, that could pose a problem for automatic browsers.
AWT = abstract window toolkit
java.lang package is imported by default into any program
Java is strongly typed -- you must declare every variable.
To determine the class-subclass relationship of two objects, watch out that
you don't interpret a restriction on instance variables to mean that there are
fewer instance variables. Example: Rectangle class has subclass of Square for which both width and height are equal.
Java has real strings, not just pointers to array of char. + acts as the concatenation operator.
array is a subclass of any object.
Vectors use an enumerator instead of an index. Think of an enumerator as an (index, length) pair.
Java in a Nutshell -- a good reference book.
If a class has a bug in a method, you don't have to access the code in order to make a subclass to extend the class with the defective method -- you can then override the bad method.
public, default, protected, private protected, private
multiple threads -- unix machines have processes. Think of a thread as a process within a big process that doesn't have the overhead of a system process.
modeless -- interruptable, concurrent tasks, allow user
input virtually any time.
interface -- a set of methods that can be
used in other classes.
Advantages of a package: use of .*, protection options.
The compiler inserts the superclass constructor at the beginning of each
class constructor.
Graphs -- store in a primitive fashion with simple vectors, then extend to more diverse storage methods to optimize for different tasks.
interface -- like an abstract class, has no implemented methods. Implementing an interface means you'll provide the same methods as are defined in the interface (same signatures?).