current location:Home > Technical Articles > Java > Javagetting Started
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- Collection of classic Java interview questions (2)
- Java introductory program: This article introduces some classic Java interview questions to you, I hope it will be helpful to you. What is the difference between Int and Integer? Integer is a wrapper class of Int, which is a basic data type of Java.
- Javagetting Started 1932 2020-07-07 16:20:27
-
- How to use the toString method in java
- How to use the toString method in java: The toString() method is used to return a Number object value represented by a string. Syntax format: [String toString(int i)], returns a String object representing the specified int.
- Javagetting Started 8403 2020-07-07 15:24:48
-
- What are the eight basic data types in java
- The eight basic data types in Java are: 1. Integer type, including byte, short, int, long; 2. Floating point type, including float, double; 3. Character type (char); 4. Boolean type.
- Javagetting Started 3947 2020-07-07 13:27:54
-
- What is the difference between deep copy and shallow copy in java
- Java introductory program: This article introduces the difference between deep copy and shallow copy in Java. It has certain reference value and I hope it can help everyone. Shallow copy only copies the object under consideration, while deep copy copies all the objects referenced by the copied object.
- Javagetting Started 3332 2020-07-04 16:58:34
-
- How to distinguish between the concepts of rewriting and overloading in Java
- The difference between overwriting and overloading: 1. Overloading must have a different parameter list, and the overriding parameter list must be the same as the overridden method; 2. Overloading can have different return types, and the overriding return type must be the same as the overridden method. The return type of the overridden method is the same.
- Javagetting Started 2733 2020-07-04 16:48:29
-
- What is the difference between the '==' operator and the equals method in Java?
- The difference between the "==" operator and the equals method in Java is: the "==" operator is specially used to compare whether the values of two variables are the same; the equals method is used to compare whether the contents of two independent objects are the same. String comparisons basically use the equals method.
- Javagetting Started 2670 2020-07-04 16:37:30
-
- What are the characteristics of stack memory and heap memory?
- Java introductory program: This article introduces the characteristics of stack memory and heap memory, which has certain reference value. I hope it can help everyone. Stack memory characteristics: Each method is called will create a stack frame; Heap memory characteristics: Heap memory is a discontinuous space.
- Javagetting Started 4119 2020-07-03 16:30:37
-
- What is the function of continue statement in loop statement?
- The functions of the continue statement in the loop statement are: 1. End this loop, and subsequent statements in the loop body will not be executed; 2. Continue to judge the loop condition and execute the next statement in the loop body. The continue statement can only be used in a while statement, for statement or foreach statement.
- Javagetting Started 29088 2020-07-03 13:50:34
-
- Introduction to how to use the constructor
- The biggest use of constructors is to perform initialization when creating objects. The constructor can change the default initialization of instance variables. When the system creates an object, it explicitly specifies the initial value for the instance variable of the object.
- Javagetting Started 2830 2020-07-02 17:03:41
-
- How to implement multi-threading by implementing the Runnable interface
- This article comes from the java introductory program. This article introduces how to implement multi-threading by implementing the Runnable interface. It has certain reference value and I hope it can help everyone. If a common class implements the Runnable interface, then this common class also has multi-threaded operation capabilities.
- Javagetting Started 3114 2020-07-01 16:50:48
-
- How to achieve encapsulation?
- Methods to achieve encapsulation: 1. privatize variables through private to limit the methods of class attributes; 2. set the external access interface for each attribute through set and get methods, and the outside world needs to use public methods to change the attributes of the class; 3. Create an instance of the wrapper class.
- Javagetting Started 4183 2020-06-30 17:17:06
-
- How to install jdk14 under linux system
- The method to install jdk14 under Linux system is: 1. Decompress the jdk compressed file; 2. Edit the /etc/profile file and write the environment variables; 3. Execute the [source /etc/profile] command to save; 4. Execute [java -version ] command to check whether the configuration is correct.
- Javagetting Started 3076 2020-06-29 17:24:58
-
- What are packaging classes? What does the packaging class do?
- This article comes from the Java introductory program. It introduces the relevant knowledge of packaging classes and has certain reference value. I hope it can help everyone. Basic data types cannot be stored in collections, only objects, so wrapper class objects can be used.
- Javagetting Started 9143 2020-06-28 17:16:41
-
- What is abstract class
- Abstract class is an abstract concept derived from the analysis and design of the problem domain. It is an abstraction of a series of specific concepts that look different but are essentially the same. Abstract classes are incomplete and can only be used as base classes for type hiding and global variables.
- Javagetting Started 5291 2020-06-28 15:22:44
-
- What content is stored in the stack, heap, and method area respectively?
- The stack stores values and objects of basic data types as well as references to basic data; all objects stored in the heap are objects, and each object contains information about a corresponding class; the method area is shared by all threads, and the method area contains All class and static variables.
- Javagetting Started 13480 2020-06-24 16:34:28