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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.