L JBS
1. List the advantages of 10 JAVA languages
A: Free, open-source, cross-platform (flat), easy to use, fully functional, object-oriented, robust, multi-thread, neutral structure, mature enterprise application platform, wireless application
2. List 10 object-oriented programming terms in JAVA
A: Package, class, interface, object, attribute, method, constructor, inheritance, encapsulation, polymorphism, abstraction, model
3. List 6 commonly used JAVA packages
Java. lang; java. util; java. io; java. SQL; java. awt; java.net; java. applet; javax. swing
4. What are the functions and features of identifiers in JAVA?
Role: the identifier is used to name variables, classes, and methods.
Features: it can start with a letter, underscore "_", or "$".
It can be followed by letters, underscores (_), and hyphens ($) or numbers.
Java is case sensitive and its identifiers are no exception
5. What are the characteristics of the keywords in JAVA? List at least 20 keywords
In Java, some words with specific meanings and used for special purposes are called keywords (keyword)
All Java keywords are in lower case, and true, FALSE, and NULL are not Java keywords;
Although goto and const have never been used, they are also reserved as Java keywords;
• A total of 51 keywords in Java
Abstract assert boolean break byte continue
Case catch char class const double
Default do extends else final float
For goto long if implements import
Native new null instanceof int interface
Package private protected public return short
Static strictfp super switch synchronized this
While void throw throws transient try
Volatile
6. How to classify data types in JAVA?
It can be divided into simple data types and reference data types:
Simple data types: Numeric type (byte, short, int, long, float double), numeric type (char), boolean type (boolean );
Reference data type: Class, interface, array.
7. Classification and examples of operators in JAVA
• Delimiter:, [], ()
• Arithmetic operators: +,