Java first time job 0

Source: Internet
Author: User
Tags set time

lsl321

Java first time job

#1. This chapter is a summary of your study of the knowledge of this chapter.

This chapter we learn the use of various Java-related files, as well as code cloud, blog, Pat and other program-aided software, these for our professional learning has a great help, for the use of Java, is currently in the state of beginners, feel more difficult.

#2. Written work

1. Why are Java programs running across platforms? What are the steps to execute a Java program? (please write in your own language)

Because Java runs only in the JVM, it is not directly in contact with the platform. Step: Write Java program--Generate class file--explain file in virtual machine.

2. What is the difference between a JDK?JDK,JRE,JVM?

The JDK is a Java program generation software. The JRE is the program run environment, which includes the JVM.

3. What does the HelloWorld parameter refer to in the Java HelloWorld command?

HelloWorld is a class file.

What is the use of 4.path variables? What is the use of classpath variables?

The path variable allows the system to find the file that needs to be executed.

5. What is the difference between writing a program in Java and running a program and running it with the C language, and the intermediate and target files that are generated?

Java: compiling source files .java-> source files generate. class files, run the. class file in the JVM

C: Compile source file .c->. obj file generation. exe file

What are the different development platforms for 6.Java languages?

Eclipse,myeclipse,jbuilder,netbeans, it can also be Notepad or editpuls.

7.What is the difference between Oracle jdk and open jdk?

One is official, the other is open source. Open JDK is leaner and more commercially available.

What is the difference between 8.JDK and JRE?

The JRE is the Java execution Environment, and the JDK is a development tool and a software that executes the program, including the JRE.

#3. PTA Experiment Summary and code-on-Cloud codes submission record

# #3.1 this week commit history in the project of the Code cloud, select "Statistics-commits history-set time period" and then search for and, as shown in

# #3.2 The problems, thinking, harvesting and solutions of the experimental summary experiment

For the use of Eclipse, see all English is very difficult, there is the code cloud and Eclipse connection, began a little clue, but through the search books, check the information, ask others, finally solved, or very happy.

Java first time job 0

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.