由字符串s='this is a pen'获得'This Is A Pen'的方法为:
举一反三
- I don’t take Jake’s pen because I don’t like ______. A: that pen of his B: that his pen C: his that pen D: that pen of him
- I don’t want to use Mary’s ball pen because I don’t like __________ . A: that ball pen of hers B: that her ball pen C: her that ball pen D: that ball pen of her
- 中国大学MOOC: 设有一个字符串s赋值如下: String s=hello;要获得字符串中的首个字符构成的子串可以用哪些方法?
- That pen is not mine. It’s _____________ (他的).
- 正确定义画笔的语句是: A: Pen p = new Pen(); B: Pen p = new Pen(3); C: Pen p = new Pen(Color.Red, 3); D: 都不对