摘要:
``` // class 子类 extentd 父类 {} // 很多情况下: 会把子类称为派生类,把父类称为超类(superCall) class Person { private String name; private int age; public void setName(String n 阅读全文
posted @ 2023-06-07 14:45
盘思动
阅读(18)
评论(0)
推荐(0)
摘要:
## demo1 concat ``` String strA = "www.mldn.cn"; String strB = "www." . concat("mldn") . concat(".cn"); System.out.println(strB); System.out.println(s 阅读全文
posted @ 2023-06-07 13:21
盘思动
阅读(16)
评论(0)
推荐(0)
摘要:
* format ``` public class HelloWorld { public static void main(String args[]){ String name = "张三"; int age = 19; double score = 8.8; String str = Stri 阅读全文
posted @ 2023-06-07 09:20
盘思动
阅读(16)
评论(0)
推荐(0)

浙公网安备 33010602011771号