Q&A

Q1:Can I use the sample Java programs from the Sun Microsystems website on my own home page?
A1: Sun encourages the use of its sample programs on websites. In addition to the programs available at http://java.sun.com, take a look at the folders that were created when you installed the Java Development Kit on your system. If you installed the demo programs along with the Kit, you will find more than two dozen sample programs along with the .java files that were used to compile them. These programs can be a valuable resource when you're working on your own Java programs later.
Q2:What is the difference between Java applets and ActiveX controls?
A2: ActiveX, an extension of Microsoft technology called the Component Object Model, offers support ...

Get SAMS Teach Yourself Programming with Java™ in 24 Hours, FOURTH EDITION now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.