Java SL110 Tutorial

zhaozj2021-02-16  48

Java tutorial SL110 starts from 1-1

View of the Java program language

Object

Learning in this module you will:

* According to the information in this module, you can list the courses you want to learn.

* Can describe when Java technology is carried out.

* At least four Java language and other languages ​​can be listed

* Describe the application of Java technology in cross-platform, and how to distinguish between different applications.

* List two pure Java technology components.

* Lists which Java components are needed when you write a Java program and a user running your program.

* This section tells you about the background of Java technology, after this lesson, you will continue your program list, in this course, you will learn.

ability

Discussion - Discuss the following issues

* Why replace other languages ​​in Java languages.

* Why is some companies that drive the Java program to spread up with a Java approach.

* Why do you choose to learn Java language?

Additional Information

Additional Information - The following reference information provides some discussions about additional detail information in this section

* Java technology: Early history

Http://java.sun.com/features/1998/05/birthday.html

The story of a fifth anniversary commemorative story about the development of the hero of the Java language.

Java language API manual

Http://java.sun.com/j2se/1.3/docs/api/index.html

What did you have learned in the study of this course?

This part will make you understand what extent after you have learned your course. And becoming the knowledge of Java programmers.

Java is a strong program language

Java is a very powerful programming language. Java program is a very easy to get started

Because it is very similar to the syntax of C . However, it is more powerful, combining the advantages of C and Fortran unable to have.

In addition, its grammar rules and C are very similar, but it is relatively simple than the syntax of C . So it is very easy to get started.

This course is the beginning of Java learning.

This course will tell the knowledge and basic code of the basic surface icon objects of Java.

This course not only teaches you how to write a small program, but also teach you how to write an application. The knowledge required to write an application is basically the same. You will be able to write some small programs and applications, through additional reading and exercises. Learning through this course will become a Java programmer.

If your goal is to learn more Java knowledge, not just a program. This week you will reach your goal. However, through additional exercises and training will further understand the knowledge you have learned and help you understand what you have learned.

Java is a very interesting programming language

By applying the knowledge you have learned, it is very important to prepare the chapter in advance. By studying you will master more knowledge and become a very good programmer.

Learn to use Java to write programs for you very great achievements because it is too powerful - it only needs hundreds of row code to complete other procedures for a few days or hours to complete work.

You will master Java very quickly, you may write some simple programs after a few hours.

You can write some programs to run on different computers through this lesson.

Java language origins

The Java language originated as a program for developing advanced software and implant systems for various types of network equipment. Java is developed as a program tool. Starting a Closed-Door project that develops members of Patrick Naughton, Mike Sheridan, And JamesgosLing of SunTM Microsystems in 1991. The first first goal is to develop interactive operations on consumer electronics. The CEO SCOTT MCNEAAaly, the sun micro company, is just because the early version provides a wonderful prospect for the current Java app on the Internet. Imagine that it will send a microwave when it is worse in a cold storage filled with food, which can send him to the manufacturer in time. Group members James gosling called this language for Oak, here there is a simple story, just as a tree next to his window. The team hopes to explore the market for this equipment, which seems to have a wide range of application prospects in the field of TV set. But no one supports them, because no one is interested in this unique market or uses this tool's alone.

Fortunately, in 1994, the Internet is popular. The group realized that Oak will use a broader application prospect in this regard. Java is designed as an independent platform. Internet is a very large C / S system, with different types of clients around the world. Designers cannot write different program interfaces for each different computer.

Java can write dynamic mesh, and HTML is not. When the group writes a small program with Java, it is interested in this program immediately when it sees this use case. This use case not only specifies the direction, but also makes them discovering its unusual situations, now only let the world understand it.

Java was released in May 1995, the first Beta version was released in 1996. Java is fast than any other language. The Java language is completely free, you can download it from the official website of Sun.

Establish a better language

When the Java language is transformed into a desktop programming language, its main goal is to establish a standard open development environment. The following list lists these standards.

The advantage of object-oriented technology is to effectively utilize code and improve code.

Improved C - removes the part of C is difficult to understand and potentially dangerous and improve it make it stronger.

Distributed - can run on the network.

Multi-thread-running multiple threads at the same time makes it more performance. (Open the web page, print the document while printing)

Safety - an example of a program whether they are reading is under safety control.

Platform Independence - Simple modifications can run under different platforms, for example: UNIX, Macintosh, Mswindows. Not like other language writes.

Discussion - Why do we need programming language?

Small procedures and applications

When the Java language is first used on the Internet, it quickly grows into a mixed language. The application on large programs quickly replaced other languages ​​such as C

Applications (application)

An application is interacting with each other on a single machine or in a network and interacting with the computer.

Applets (applet)

The applet is different from the application; they are not a packaged program and more like the appraisers. When you log in to URLs, it is used to display the text and images or calculations.

The applet is running in the browser instead of running in an open system. The applet represents a small application. They run on a host other than your computer, or download it to the local machine.

The browser is an ideal operating environment of a small program. They have established a secure environment for INTENET, for example, for example, check the virus.

Talking about small procedures and applications

A procedure for applets and applications come together. But you can't put the applets and applications.

Note - This is not a course specializing in writing applets and applications. This class will tell you the Java language and object-oriented basic knowledge, from which you will learn how to write applets and applications.

Exercise 1: Small procedures and applications

Exercise objects - different points of division of applets and applications when running.

The task is practiced from the catalog of this chapter and your guidance teacher to your practice catalog.

If you are less familiar with the open system you use. See the Appendix F "Open Environment Guide" which provides basic commands and a helper about open system Solaris.

..........

(to be continued)

I just started translation, there were a lot of mistakes, I hope everyone will give an assessment.

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

New Post(0)