无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

Java oop浪漫告白代碼:包裝類,定義8種包裝類型的變量,用new初始化變量,數(shù)組打印

2019-12-26 16:25 作者:詩(shī)書畫唱  | 我要投稿

? ? ? ? ? ? ??

? ? ? ? ? ? ? ? ? ?



package a;


public class Student{


public static void main(String[] args) {

? ?

? ?

? ? Integer [] ms=new Integer[3];

? ? Boolean [] B=new Boolean[3];

? ? Double [] D=new? Double[3];

? ? Byte [] Byte=new Byte[3];

? ?

? ? Short [] Short=new Short[3];

? ? Long [] Long=new Long[3];

? ? Character [] Character=new Character[3];

? ? Float [] Float=new Float[3];

? ?

? ?

? ? Integer m1=new Integer(5);

? ? Integer m2=new Integer(2);

? ? Integer m3=new Integer(0);

? ? Boolean B1=new Boolean(true);

? ? Boolean B2=new Boolean(true);

? ? Boolean B3=new Boolean(true);

? ? Double? D1=new? Double(52.0);

? ? Double? D2=new? Double(52.0);

? ? Double? D3=new? Double(13.14);

? ? Byte? Byte1=new? Byte("5");

? ? Byte? Byte2=new? Byte("2");

? ? Byte? Byte3=new? Byte("0");

? ? Short? Short1=new? Short("7");

? ? Short? Short2=new? Short("7");

? ? Short? Short3=new? Short("5");

? ? Long? Long1=new? Long("520");

? ? Long? Long2=new? Long("13");

? ? Long? Long3=new? Long("14");

? ? Character? Character1=new? Character('5');

? ? Character? Character2=new? Character('2');

? ? Character? Character3=new? Character('0');

? ? Float? Float1=new? Float(52.0);

? ? Float Float2=new? Float(52.0);

? ? Float Float3=new? Float(13.14);

? ?

? ? ms[0]=m1;ms[1]=m2;ms[2]=m3;

? ? B[0]=B1;B[1]=B2;B[2]=B3;

? ? D[0]=D1;D[1]=D2;D[2]=D3;

? ? Byte[0]=Byte1;Byte[1]=Byte2;Byte[2]=Byte3;

? ? Short[0]=Short1;Short[1]=Short2;Short[2]=Short3;

? ? Long[0]=Long1;Long[1]=Long2;Long[2]=Long3;

? ? Character[0]=Character1;Character[1]=Character2;Character[2]=Character3;

? ? Float[0]=Float1;Float[1]=Float2;Float[2]=Float3;



? ? for(int i=0;i<ms.length;i++){


? ? System.out.print(ms[i]+"? ");

? ?

? ?

? ? }System.out.println();

? ? for(int i=0;i<ms.length;i++){


? ?

? ? System.out.print(B[i]+"? ");

? ?

? ? }System.out.println();

? ? for(int i=0;i<ms.length;i++){


? ?

? ? System.out.print(D[i]+"? ");

? ?

? ?


? ? }System.out.println();

? ? for(int i=0;i<ms.length;i++){


? ?

? ? System.out.print(Byte[i]+"? ");

? ?

? ?


? ? }System.out.println();

? ? for(int i=0;i<ms.length;i++){


? ?

? ? System.out.print(Short[i]+"? ");

? ?

? ?


? ? }System.out.println();

? ? for(int i=0;i<ms.length;i++){


? ?

? ? System.out.print(Character[i]+"? ");

? ?

? ?

? ? }System.out.println();

? ? for(int i=0;i<ms.length;i++){


? ?

? ? System.out.print(Float[i]+"? ");

? ?


? ? }

? ?

? ?

? ?

? ?

? ?

? ? }

}

??

編程也可以浪漫,萬物皆可浪漫,我喜歡浪漫?,?我也喜歡創(chuàng)造浪漫? ? ?,我會(huì)常給我最愛的她浪漫

求關(guān)注,投幣,點(diǎn)贊,收藏,轉(zhuǎn)發(fā)!


Java oop浪漫告白代碼:包裝類,定義8種包裝類型的變量,用new初始化變量,數(shù)組打印的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
柳林县| 莒南县| 芒康县| 九江市| 滕州市| 临朐县| 宁乡县| 安溪县| 页游| 新津县| 鄄城县| 女性| 原阳县| 乌海市| 手游| 陕西省| 平和县| 九龙坡区| 土默特左旗| 方山县| 亚东县| 大洼县| 漳浦县| 玛曲县| 基隆市| 龙岩市| 石泉县| 沁水县| 屏南县| 惠来县| 惠水县| 镇安县| 深泽县| 营口市| 德惠市| 仙桃市| 扶绥县| 黔江区| 榆中县| 石屏县| 湄潭县|