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