Home Technical Articles Java Javagetting Started
What are the commonly used data types in java

What are the commonly used data types in java

Commonly used data types in "java" include basic data types and reference data types. Basic data types are divided into: "byte", short integer, integer, long integer, floating point, double precision floating point, Character type, Boolean type; reference data types are divided into: class, interface, array.

Dec 02, 2019 pm 04:29 PM
java 数据类型
The difference between int and integer in java

The difference between int and integer in java

This article introduces the difference between int and integer from the java introductory column. I hope it can help you. Int is a basic data type, and Integer is a reference data type; the int type directly stores values, and Integer requires an object to be instantiated.

Nov 30, 2019 pm 05:24 PM
java int integer 区别
Java functions - similarities and differences between constructors and member functions

Java functions - similarities and differences between constructors and member functions

This article introduces the similarities and differences between constructors and member functions from the java zero-based introduction column. I hope it can help you. Constructors can only be called when an object is created, and member functions can only be called after the object is created. The constructor does not need to return a value, and the member function does not need to return a value.

Nov 30, 2019 pm 04:37 PM
java 构造函数 成员函数 区别
Introduction to basic data types and reference data types in Java

Introduction to basic data types and reference data types in Java

This article introduces the relevant knowledge of basic data types and reference data types from the java programming introductory column. I hope it can help you. When a basic data type is created, a memory is allocated for it on the stack, and the value is stored directly on the stack.

Nov 30, 2019 pm 03:43 PM
java 基本数据类型 引用数据类型
Detailed introduction to exception types and exception handling in java

Detailed introduction to exception types and exception handling in java

This article introduces the exception types and exception handling in Java in detail from the java introductory program column. I hope it can help you. All exceptions in Java are inherited from Throwable. Throwable has two subclasses, namely Error and Exception.

Nov 30, 2019 pm 03:00 PM
java 异常类型 异常处理
What are the relationships between classes in Java?

What are the relationships between classes in Java?

This article uses the Java Quick Start column to introduce to you the relationships between classes in Java. I hope it can help you. In Java programming, the relationships between classes are: 1. Dependence; 2. Association; 3. Inheritance; 4. Implementation.

Nov 30, 2019 pm 02:47 PM
java 关系
Detailed introduction to classes and objects in java

Detailed introduction to classes and objects in java

This article introduces the relevant knowledge of classes and objects in detail from the java zero-based introduction column, hoping to help everyone better understand these two concepts. A class is a general term for things with similar characteristics and behaviors. A common class is used to define objects of the same type. An object is an instance of a class, and multiple instances can be created from a class.

Nov 30, 2019 pm 02:36 PM
java 对象
java object-oriented - detailed introduction to polymorphism

java object-oriented - detailed introduction to polymorphism

This article introduces the polymorphic features in object-oriented to you in the java introductory learning column. I hope it can help you. Polymorphism is the third major feature of object-oriented programming after encapsulation and inheritance. Polymorphism refers to the same behavior having multiple different manifestations.

Nov 30, 2019 pm 02:21 PM
java 面向对象 多态
The Road to Java Learning - Detailed Explanation of the Final Keyword

The Road to Java Learning - Detailed Explanation of the Final Keyword

This article introduces the final keyword in detail to everyone in the java development introductory column, hoping to help everyone understand it better. The final keyword is used to modify classes, methods and variables. The modified class cannot be inherited, the modified method cannot be overridden, and the modified variable cannot be reassigned.

Nov 30, 2019 pm 02:04 PM
java final 关键字
Are methods in java objects?

Are methods in java objects?

The method in "java" is not an object. A method refers to a specific behavior of an object, and an object refers to a specific instance of a class. For example: if people are regarded as a class, the method is the specific behavioral explanation of a certain person, and the object represents the specific person.

Nov 30, 2019 am 11:28 AM
java 方法 对象
How to write if statement in java

How to write if statement in java

The writing method of "if" statement in "java" is: the syntax format is such as "if (Boolean expression) {the statement that will be executed if the Boolean expression is "true"}", which means that if the value of the Boolean expression is "true", Then the code block in the "if" statement is executed, otherwise the code after the "if" statement block is executed.

Nov 30, 2019 am 10:13 AM
java if 写法
Division of memory areas in java

Division of memory areas in java

This article introduces the division of memory areas in Java from the Java introductory learning column. I hope it can help you. The memory area can be divided into: 1. Program counter; 2. Virtual machine stack; 3. Local method stack; 4. Heap; 5. Method area.

Nov 29, 2019 pm 04:54 PM
java 内存区域 划分
Java basic tutorial interface

Java basic tutorial interface

This article introduces the interface knowledge in Java from the Java Programming Introduction column, hoping to help you further understand. An interface is a common specification (abstract method inside) of multiple classes and is a reference data type.

Nov 29, 2019 pm 03:54 PM
java 接口
Java object-oriented polymorphism

Java object-oriented polymorphism

This article introduces the relevant knowledge of polymorphism to you in the Java Quick Start column. I hope it can help you. Polymorphism has two forms of expression: 1. Method polymorphism (method overloading, method overwriting); 2. Object polymorphism (object upward transformation, object downward transformation).

Nov 29, 2019 pm 03:02 PM
java 面向对象 多态

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use