早安美而美
陳品妍.HTML.CSS.Java
我學習程式設計programming,學得披荊斬棘!!!
陳品妍開始學習Java
public class Main {
public static void main(String[] args) {
String s ="德明科大陳品妍";//宣告字串變數s
int t; //宣告整數integer變數t
t = s.length(); //點.接屬性或方法
System.out.println("陳品妍w3schools學習Java");
System.out.println(s);
System.out.println("字串長度:" + t);//字串+是串接
}
}
甚麼美而美 我愛呷尚堡
回覆刪除