Java beginners and basic issues (ZZ)
The first school Java friend is likely to meet many problems, and some of the following is collected. 1. [Ask] What is the application and applet? Is there a difference in use? [Answer] Application and Applets are two most commonly used in Java language, both of which must be run on the Java virtual machine. Simply put, Application is more like a desktop program we usually written in VB, VC, etc., and it is also easy to implement window applications. The applet can be embedded in the web page and run on a browser that supports Java virtual machines. The application should be different when used. 2. [Ask] I have written a simple Application and have been compiled. I got a class file, but I reported the incorrect of the Class if I use JDK's Java command. [Answer] This is a problem that is often encountered by Java. In fact, it is very simple. Do you look at the primary class name defined in the program and the name of the program (* .java)? This error occurs if the two names are different. 3. [Ask] I want to learn Java language, but I face a lot of Java development tools, I don't know what it is? [Answer] There are currently many Java development tools, each has its own characteristics. For beginners, it is recommended to use Sun's JDK to begin learning, pay attention to the use of JDK documentation, which is very helpful for the basic skills of Hyun Java. When you use Java development projects in the future, you can choose some engineered visualization tools, such as Microsoft's VJ , etc. In fact, JDK and other visual tools are often used in development. 4. [Ask] Will often see something like JavaScript, is it different from Java? [Answer] Compare Java, JavaScript can't be said to be a complete language. It defines a set of methods, event processing, etc., mainly used to increase the page effect in web page development, data validity check, etc. It can also be used as a programming script when developing the Microsoft ASP. It has a basic right thing that is VBScript.