20180910
類
1.自定義類(自定義存在不同的包下面)
2.第三方類(存在Mavendjar包里面)
3.JDK類(存在JDK的jar包里面屬于官方類)
方法
1.不帶參的 方法
2.帶參的方法
3.帶返回?cái)?shù)據(jù)的方法
4.不帶返回?cái)?shù)據(jù)的方法
四種類型
1.數(shù)字形:byte,short,int,long
2.浮點(diǎn)型:float,double
3.邏輯性:boolean(它只有兩個(gè)值可取,true,flase)
4.字符型:char
5.引用型:string
三種容器
1.數(shù)組:大小固定,只能存儲(chǔ)相同類型的數(shù)據(jù),通過(guò)下標(biāo)取值
2.list:有順序,只能存單個(gè),通過(guò)下標(biāo)取值
3.map:只能存鍵值對(duì),通過(guò)key取值
4.set:數(shù)據(jù)不能重復(fù),無(wú)序,通過(guò)循環(huán)迭代取值
引用類型
接口
數(shù)組
類
常用容器
1.list
2.hashmap
3.hashset
Test常見(jiàn)注解
Before test
Before class
Test
After class
After test
切換窗口

image.png
UI自動(dòng)化流程圖

image.png