Java Beginners and basic issues

Source: Internet
Author: User
Beginners | questions
Java Beginners and basic issues (ZZ)

Beginners Java friends are likely to encounter a lot of problems, the following collection of some for reference.            1. Ask What do application and applets each refer to? Is there a difference in use?               [Answer] The application and applets are the two most commonly used in the Java language-generated code, both of which are                 must be running on a Java virtual machine. In short, application is more like our usual VB,VC writing                 Desktop programs, more of the console (console) mode of operation, of course, it is also easy to implement window applications. And               applet can be embedded in a Web page, Run on a browser that supports Java virtual machines. Should be used to distinguish                application.           2. [Q] I wrote a simple application, also through the compilation, got a class file, but I                 when you run it using the JDK's Java command, you report an error that class cannot find.      &Nbsp;        [answer] This is a beginner Java often encountered problems, in fact very simple, you see yourself in the program defined by the main class                 name and your name for the program (*. JAVA) is not the same? This error can occur if the two names are not the same.            3. [Q] I want to learn the Java language, but face a lot of Java development tools, do not know what good?               [There are a lot of Java development tools, Each has its own characteristics. For beginners, it is recommended to use the Sun                jdk to start learning, Note the use of JDK documentation, which is good for Java's basic skills. When you formally make                Java development projects in the future, You can choose some of the engineering visualization tools, such as Microsoft vj++, and so on. In fact,                often utilizes JDK and other visualization tools in development.            4. [Q] Often see a javascript thing like that, does it differ from Java?               [In contrast to Java, JavaScript cannot be said to be a complete set of languages, defining a set of methods, event handling                , mainly for Web page development to increase the effect of the page, data validation checks. In the development of Microsoft                ASP can also be used as a programming script. It has a basic equivalence thing to be VBScript.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.