發表文章

侯又誠,陣列array使用迴圈輸出

圖片
w3schools程式碼 //侯又誠2022.11.7.陣列=順序的同型資料 public class Main { public static void main(String[] args) { String[] hey = {"富豪", "寶馬", "福特", "馬自達", "撈屎來食"}; /*宣告字串陣列,[]代表陣列,名稱hey */ /* 方法 length 陣列的長度, 使用迴圈列出所有我的汽車 */ System.out.println( "陣列長度=" + hey.length); for ( int i = 0; i w3schools程式碼截圖

侯又誠Java資料型態

圖片
挪威w3schools.com練習Java code /*侯又誠2022/10/24Java變數variable資料type型態*/ public class Main { public static void main(String[] args) { int i; /*註解java, JavaScript, CSS*/ int myNum = 5; //宣告整數integer(whole number) float myFloatNum = 5.99f; //宣告浮點數floating point number, 4 bytes=32 bits,4位元組 char myLetter = '龍'; //宣告字元character, 2 bytes=16 bits,2位元組 boolean myBool = true; //宣告布林boolean, 1 bit,1位元 String myText = "侯又誠"; //宣告字串String i = myLetter; //整數i=字元'龍' System.out.println(myLetter + "字碼unicode 10進位" + i); System.out.println(myNum); System.out.println(myFloatNum); System.out.println(myLetter); System.out.println(myBool); System.out.println(myText); } } 挪威w3schools.com練習Java code截圖 Java原型primitive 資料型態 資料型態 長度(位元組) 範圍最小 範圍最大 位元數 1位元組=8位元 -128 127 短整數 2位元組=16位元 -32,768 32,767 整數 4位元組=32位元 -2,147,483,648 2,147,483,647 長整數 8位元組=64位元 -9,223,372,036,85...

侯又誠 W3schools學雙迴圈,運算子operator

圖片
Java程式碼 /*劉任昌2022/10/17w3Schools學雙迴圈,運算子operator,運算元operand*/ public class Main { public static void main(String[] args) { int i, j; /*宣告整數integer變數i, j*/ String a="第", b="列:"; /*宣告整數字串a, b給初始值*/ for ( i = 0; i w3schools程式碼截圖 試探統一碼unicode

w3schools範例製作台灣平均每人GDP和西元年關係

台灣平均每人GDP與西元年關係 w3schools範例:房價與面積

侯又誠.CSS.Borders.border-radius.

圖片
侯又誠.border-radius. 德 明 侯 又 誠 學習心得 利用挪威W3school的學習

侯又誠HTML金一乙

德明科大侯又誠HTML 侯又誠學習HTML STYLE心得 我學得很快樂 Java程式設計練習Hellow World
圖片
 function myFirstjs(){ alert("侯又誠 HTML,CSS 與 JavaScript 三種程式語言。") } 德明財經科技大學財金系侯又誠程式設計 機器人 🤖 vs. 外星人 👽 劉任昌模仿自#codeSTACKr https://github.com/codeSTACKr/css-grid-tutorial 侯又誠按鍵