英語小說單字筆記中2026-10-23

圖片
  📚 5 個實用高中英語單字 alternative 詞性 :形容詞 (adj.) / 名詞 (n.) KK 音標 :[ ɔlˋtɝnətev ] 中文意思 :替代的、選擇性的;替代方案 例句 :We need to find an alternative solution to this problem before it gets worse. (我們需要在問題惡化之前,找到一個替代的解決方案。) significant 詞性 :形容詞 (adj.) KK 音標 :[ sɪgˋnɪfɪkənt ] 中文意思 :重大的、顯著的、有意義的 例句 :There has been a significant increase in online shopping over the past year. (過去一年來,網路購物有顯著的增長。) transparent 詞性 :形容詞 (adj.) KK 音標 :[ trænsˋpɛrənt ] 中文意思 :透明的、清澈的、坦率的 例句 :The company promised to be more transparent about its business practices. (該公司承諾在其商業運作上會更加透明。) sustainable 詞性 :形容詞 (adj.) KK 音標 :[ səˋstenəbəl ] 中文意思 :永續的、可維持的 例句 :Using renewable energy is key to creating a sustainable future. (使用再生能源是打造永續未來的關鍵。) evaluate 詞性 :動詞 (v.) KK 音標 :[ ɪˋvæljʊ͵et ] 中文意思 :評估、評價 例句 :Teachers will evaluate students based on their class participation and projects. (老師將根據學生的課堂參與度和專案表現來進行評估。) 🇯🇵 5 個日語 50 音精選假名 か (ka) 平假名/片假名 :か / カ 發音與解說 :由子音 k 和母音 a 組成,發音類似中文的「卡」。 記憶與範例 : かき (kaki) :意思是「柿子」或「生蠔」。 き (ki) 平假名/片假名 :き / キ 發...

「swift 2.0」類別函式

有類別成員 
當然會有類別函式
成員比較像是靜態屬性
函式比較像是動作

函式關鍵字 func
傳入參數:參數資料類型
比較特別的是回傳參數類別是放在小括弧後面
加上->回傳值類型

class Book{
    var title = "little women"
    var pubDate = 1868
    var price : Int?
    var author:String?
    func setAuthor(auStr:String) {
        author = auStr
    }
    func getAuthor()->String{
        return author!
    }
}

var ob = Book()
ob.setAuthor("Louisa May Alcott")
var au = ob.getAuthor()





留言