Java Foundation Summarize (i)

Source: Internet
Author: User

The

The so-called procedure refers to a set of ordered orders used to achieve a goal;

The so-called Directive refers to the communication between the two parties using each other can be recognized language to complete a work;

No.2

Javase: desktop applications;

Java EE: website;

Javame: mobile applications;

JDBC: a common interface for database access;

JTA,JTS: support for providing transactional processing;

Java Servlet: A network build to extend The functionality of the WEB server;

Jsp:java and HTML mixed programming, similar to ASP;

Javaidl:java The implementation of COBRA , allowing integration with other languages;

No.3

Development Java Program Trilogy: write, compile, run;

1.First, you need to configure environment variables

After the above operation is determined, open the dos Command Board ( Start Menu-"run-" input cmd to Open), in the command board type Javac, If a series of Chinese is present, the configuration is successful;

No.4

basic framework for Java programs:

public class job{

public static void Main (string[] args) {

System.out.println ("It's just a summary, thanks for admiring!" ”);

}

}

Java Framework Four elements in the program : Public static void Main (string[] args) {

} =========>> (Main method)

No.5

No.6

\n--Line;

\t--a Tab position;

No.7

No.8

Specification:

1, Java code strictly different case;

2, "{}" to appear in pairs;

3. Class naming cannot begin with a number;

4, Each statement in Java should be "; "English half-width of the semicolon at the end of the state;

5, Java code is written in the English half-angle state;

6, the code to be written into the framework of the inner layer;

No.9

Change the workspace in myeclipse

File--->switch Workspace---->other----->browse

No.10

The Package Explorer: A class for managing multiple different functions;

The Navigator (Navigator): Action: Similar to Windows Explorer, you can see the Java file, you can also see the compiled class file;

No.11

In the myeclipse

A displays line numbers

In the pop-up menu, tick show line Numbers

b Delete Item

Select the item you want to delete, right-click, select Delete,

C Import Project

File→Import→ General

D Quick Change file name

Select target, press F2

No.12 Several issues when a statement is wrong

1.

No.13javaprogram compilation and execution process

1 . The file with the suffix . Java is compiled by the Java compiler into a file with the suffix . class.

2. A file with the suffix . Class is compiled by the JVM(Java virtual machine) for the second time, compiled into code that the CPU can recognize (0,1)

Java Foundation Summarize (i)

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.