Java beginners and basic issues

xiaoxiao2021-03-06  70

Java beginners and basic issues

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 the most commonly used in the Java language generated, both ???????????? ?? All must be run on the Java virtual machine. In simple, Application is more like we usually use VB, VC, etc. ?????????????'s desktop program, is also operated by console, of course, it is also easy to implement window applications. . And ?????????????? Applets can be embedded in the web page and run on a browser that supports Java virtual machines. This should be different when using it ?????????????? ??????????2. [Ask] I have written a simple Application and have passed the compilation. I got a class file, but I reported the Class when I run it ?????????????? Can't find a mistake. ??????????????? [answer] This is a problem that I often encounter for beginner Java. It is actually very simple. Do you look at the primary class defined in the program ???????? ?????? Name and you named 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 Company ????????????? JDK to start learning, pay attention to the use of JDK documentation, which is very helpful for hitting Java's basic skills. Fair to officially enable ????? When developing items with Java, some engineered visualization tools, such as Microsoft VJ , etc. In fact, ?????????????? is often integrated in development using JDK and other visualization tools. ??????????? 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 in the development of web page development, and perform data validity checks. Developing Microsoft ?????????????? ASP can also be used as a programming script. It has a basic right thing that is VBScript.

转载请注明原文地址:https://www.9cbs.com/read-120199.html

New Post(0)