201521123080 Java programming 1th Week of study summary

Source: Internet
Author: User
Tags netbeans

Tagged with: NetBeans java code Development Java program Bean Software mobile Game Program

#1. Summary of this week's study

Java development environment, how to program with Notepad and Eclipse.

#2. Written work

Q1. Why are Java programs running across platforms? What are the steps to execute a Java program? (please write in your own language) answer: Because Java is running on a virtual machine, it is not programmed directly on the system. The Java Translator is first translated into bytecode and then executed with the interpreter.

Q2. What is the difference between JDK?JDK,JRE,JVM? A: The JDK is the Java development tool, the JRE is the Java Runtime Environment, the JVM is the virtual machine.

Q3.java HelloWorld Command, what does this parameter refer to in HelloWorld? Is it a file name?            What is the meaning of this command? A: HelloWorld is the class name and is the name of the class.

What is the use of Q4.path variables?            What is the use of classpath variables? A. Path is the path that Windows systems use to look for executable files.

Q5. What is the difference between writing a program in Java and running a program and running it with the C language, and the resulting intermediate file and target file? For:

Java: Write good source code (. Java)--(compiler)--run through JVM generated bytecode file (. Class)--(interpreter)

C Language: Write the source code (. c), compile (. obj), binary (. exe) files

The Java target file (. Class) does not run directly, but is interpreted by the interpreter. and C's target program (. exe) can run directly (only on the platform he can run, of course)

Q6.  What are the 3 application versions of the Java language? What is the relationship between versions? Answer: (1) NetBeans
(2) Eclipse and MyEclipse
(3) IntelliJ idea

Q7.  What is the difference between Oracle jdk and open jdk? A: Oracle JDK cannot be used for commercial use, Open JDK can

Q8. What are the main applications of Java? What are your goals and expectations in this course? A: For program development, software design, mobile games and so on. The goal is to be able to make a few small games yourself.

#3. Managing Java code with the Code cloud

201521123080 Java programming 1th Week of study summary

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.