由字符串s='this is a pen'获得'This Is A Pen'的方法为:
s.title( )
举一反三
- 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: 都不对
内容
- 0
定义一个画笔对象,下列哪项错误() A: Pen myPen=new Pen(Color.Red) B: Pen myPen=new Pen(new SolidBrush(Color.Red)) C: Pen myPen=new Pen(Color.Red,5) D: Pen myPen=new Pen(new Bitmap(“e:\\1.jpg”))
- 1
David has $5 but this pen is $2 more than that. A: The pen costs $2. B: The pen costs $5. C: The pen costs $3. D: The pen costs $7.
- 2
What’s the pen name of Charles Lutwidge Dodgson?
- 3
What's the pen name of Samuel Langhorne Clemens?
- 4
下列定义画笔对象p的语句中,正确的是___________。 A: Dim p As new Pen = Color.Red B: Dim p As Pen = New Pen(Color.Red, 3) C: Dim p As new Pen = Pen(Color.Red,1) D: Dim p As Pen(Color.Black) E: Dim p = Pen(Color.Black,2)