上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 44 下一页
摘要: https://m.sohu.com/a/675686022_121073857 阅读全文
posted @ 2023-11-24 15:39 chuangzhou 阅读(14) 评论(0) 推荐(0)
摘要: https://www.python100.com/html/87744.html 阅读全文
posted @ 2023-11-17 23:06 chuangzhou 阅读(13) 评论(0) 推荐(0)
摘要: https://baijiahao.baidu.com/s?id=1671664364219061186&wfr=spider&for=pc >>> timeit.timeit(stmt='10**4 in s',setup='s=range(10**5)', number=10**5) 0.006 阅读全文
posted @ 2023-11-16 23:31 chuangzhou 阅读(17) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/python924/p/12800200.html https://blog.csdn.net/sinat_34937826/article/details/107316884 阅读全文
posted @ 2023-11-11 15:03 chuangzhou 阅读(23) 评论(0) 推荐(0)
摘要: 没有使用 !r: class Point: def __init__(self, x, y): self.x = x self.y = y def __repr__(self): return f'Point({self.x}, {self.y})' p = Point('1', '2') prin 阅读全文
posted @ 2023-11-09 23:11 chuangzhou 阅读(68) 评论(0) 推荐(0)
摘要: 更改Path 环境变量中的优先级 正确的优先级: 2.重启cmd,查看版本 参考: https://blog.csdn.net/weixin_44248000/article/details/130345724 阅读全文
posted @ 2023-10-29 15:24 chuangzhou 阅读(144) 评论(0) 推荐(0)
摘要: package com.demo2; import com.demo.Demo1; import java.util.Objects; public class Test { public static void main(String[] args) { String name = null; S 阅读全文
posted @ 2023-10-27 22:55 chuangzhou 阅读(25) 评论(0) 推荐(0)
摘要: https://www.it1352.com/2408965.html 阅读全文
posted @ 2023-10-26 08:44 chuangzhou 阅读(21) 评论(0) 推荐(0)
摘要: 有时,数据就是数据,而面向对象程序设计提供的数据隐藏有些碍事,考虑一个类,这个类描述平面上的一个点,有下x和y坐标 package com.demo; public class Ponint { private final double x; private final double y; publ 阅读全文
posted @ 2023-10-15 21:15 chuangzhou 阅读(36) 评论(0) 推荐(0)
摘要: 除非一个类声明为final,否则任何人都可以派生这个类的子类。但是如果想对它有更多控制权那?指定它的具体子类,阻止被人派生父类的子类。 在Java中 ,密封类(sealed class) 会控制哪些类可以继承它。Java15中作为一个预览特性增加了密封类,并在Java17中确定了这个特性 案例: p 阅读全文
posted @ 2023-10-15 11:22 chuangzhou 阅读(68) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 44 下一页