Deep analysis of basic grammar--"J2SE"

Source: Internet
Author: User


Many times, knocking the code can be knocked out, but the concept of a considerable difficulty, which is the foundation of the weak performance.


From VB, vb.net, C # to the present Java, these concepts will be encountered every time, I do not want to pass with you ...


First, basic knowledge concept Summary:


Identifiers: The sequence of characters used to name features such as various variables, methods, and classes becomes an identifier.

Keywords: Java gives a specific meaning, a string used for specialized purposes is called a keyword.


Variables: The most basic storage unit in a program, including variable names, variable types, and scopes.

Data type: A collection of values and a set of operations defined on this set of values. The data that allocates memory directly in the stack is the basic data type; The data is referenced in the stack, and the object is in the heap as a reference data type.


Formal parameters: Arguments to functions when declaring a function.

Arguments: Parameters that are passed to the function when the function is called.


Ii. The origins of these concepts:

Why use variables?

Better deal with a class of data rather than a single data. If there are no variables, you can only operate on individual data.


Why are data types introduced?

1. The operation of the variable is more convenient and reduces the error rate.

2. Save stack memory and improve program performance.



Iii. Summary

The foundation is the source of creativity.






Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Deep analysis of basic grammar--"J2SE"

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.