撰寫一個應用程式,在Father類中定義一個判斷字母大小寫并根據大小寫完成轉換的方法(如是大寫則轉換成小寫)voidconverse(charc),再定義一個方法charlocation(intposition),求得整數position在Unicode字符集中對應的字符。定義Father類的子類Child,在Child類中重寫方法voidconverse(charc),完成引數字符c與數字的轉換。在主類App中定義Child類物件,呼叫converse方法和location方法
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/283248.html
標籤:Java相關
上一篇:幫幫忙
