Java data types of the road Day7

type of data

Strongly typed language (advantages: security, high Disadvantages: slow)

Required before you can use variables to strictly comply with the provisions, all variables must be defined

Weakly typed language

Java data types are divided into two categories

Basic types (primitive type)

Reference types (reference type)

 

 

String string variable definition

int variable definition digital

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/wjt123/p/11968560.html