代码例子如下 public class Father{ private int i = test(); private static int j = method(); static{ System.out.print("(1)"); } Father(){ System.out.print("(2 ...
分类:
其他好文 时间:
2021-03-09 13:44:24
阅读次数:
0
在 macOS 上安装Git 在 Mac 上安装 Git 有多种方式。 最简单的方法是安装 Xcode Command Line Tools Mavericks (10.9) 或更高版本的系统中,在 Terminal 里尝试首次运行 git 命令即可 $ git --version 会弹框提示安装 ...
分类:
系统相关 时间:
2021-03-09 13:39:24
阅读次数:
0
犯了一个低级错误 将测试用例写在COMMON目录里,导致无法用pytest执行测试,代码执行了也 没有日志打印 回头想想 pytest用例 先找的是 包名为 test开头的 然后执行test的用例模块 所以需要用test关键字命名包、模块、以及用例名称!!!!! ...
分类:
其他好文 时间:
2021-03-09 13:24:31
阅读次数:
0
创建线程的三种方式 1.继承Thread类 2.实现Runnable接口 3.实现Callable接口 继承Thread类 public Test extends Thread{ public void run(){ ... }//必须重写Thread类的Run方法 ... public stati ...
分类:
编程语言 时间:
2021-03-09 13:00:41
阅读次数:
0
第一种 类似于python的re.search("\d+","123") import java.io.*; import java.util.*; import java.util.regex.*; public class test { public static void readFile() ...
分类:
编程语言 时间:
2021-03-08 14:20:53
阅读次数:
0
1.union 和 union all 前者可以去重 select sex,address from test where dt='20210218' union all select sex,address from test where dt='20210218'; + + +--+ | sex ...
分类:
其他好文 时间:
2021-03-08 14:17:52
阅读次数:
0
IDEA整合LeetCode插件,可以在 IDEA 本地编辑代码并且运行提交,还能关联自己的账号,非常实用。 在Setting中的Plugins中搜索安装LeetCode插件 安装插件后进行设置 第一次使用前,需要进行一些基本的配置在Setting的Tools中可以找到安装好的leetode plu ...
分类:
其他好文 时间:
2021-03-08 14:00:35
阅读次数:
0
Java的可变参数 public class Demo16 { public static void main(String[] args) { Demo16 demo16 = new Demo16();//调用与实例变量调用一样 //因为test没有static所以不能直接调用 demo16.te ...
分类:
编程语言 时间:
2021-03-08 13:37:56
阅读次数:
0
作用域 def test1(): print("in the test1")def test(): print("in the test") return test1 》test1 是函数test1的IP地址s = test() >运作test()结果是 in the test ,然后返回test1 ...
分类:
其他好文 时间:
2021-03-08 13:36:19
阅读次数:
0
title: stm32cubemx+clion环境搭建 date: 2021-01-23 13:32:05 tags: 环境搭建 cover: https://s3.ax1x.com/2021/01/23/s7unQx.png 为什么搭建 需要找到一个keil的替代品用来编译STM32代码。 环境 ...
分类:
其他好文 时间:
2021-03-06 15:06:50
阅读次数:
0