Day4 notes

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/weixin_42110567/article/details/102724728

Common API

1.Random

It has a range of random number generation

ArrayList

ArrayList stores basic data types

String

String constant pool

Compare and precautions string


Because if str is null, "abc" .equals (str) returns false, and "str.equals (" abc ") will report null pointer exception

Common methods:

Ctrl + N level code can view the class

Static

Static memory map

Static code block

Arrays

Math

 

Guess you like

Origin blog.csdn.net/weixin_42110567/article/details/102724728