方法的重载 public class MethodDemo05 { public static void main(String[] args) { int add1 = add(1, 2); System.out.println(add1); System.out.println(" "); in ...
分类:
其他好文 时间:
2021-06-28 18:55:14
阅读次数:
0
封装方法 import axios from 'axios' const allowIP = ['119.133.5.19']; //允许访问 async function getIp() { const res=await axios.get('https://api.ipify.org/')// ...
分类:
其他好文 时间:
2021-06-28 18:55:02
阅读次数:
0
1 // In the renderer process. 2 3 import { desktopCapturer } from 'electron'; 4 import { screen } from '@electron/remote'; 5 6 export async function c ...
分类:
其他好文 时间:
2021-06-28 18:51:50
阅读次数:
0
select 1 as id,'是' as text from dual union all select 0 as id ,'否' as text from dual 同时查询出十条数据 select * from dual connect by 0 + level <= 10; 按照这个特性计算 ...
分类:
数据库 时间:
2021-06-28 18:48:46
阅读次数:
0
--公司注册 if exists(select * from Sysobjects where name='usp_CompanyRegister') drop procedure usp_CompanyRegister; go create procedure usp_CompanyRegiste ...
分类:
其他好文 时间:
2021-06-28 18:47:19
阅读次数:
0
流程控制 Scanner对象 我们可以通过Scanner类来获取用户的输入 **基本语法:**Scanner s = new Scanner(System.in) 通过Scanner类的**next()与nextLine()方法获取输入的字符串,在读取前我们一般需要使用hasNext()与hasNe ...
分类:
其他好文 时间:
2021-06-28 18:42:47
阅读次数:
0
1、查询Student表中的所有记录的Sname、Ssex和Class列。 SELECT sname,ssex,class from student 2、 查询教师所有的单位即不重复的Depart列。 备注:不去重查到的教师所有depart select depart FROM teacher 去重 ...
分类:
数据库 时间:
2021-06-28 18:35:45
阅读次数:
0
--创建无数据但表结构相同的表 create table ASRS_TASKDETAIL_LV_HISTORY as select * from ASRS_TASKDETAIL_LV where 1=0 --如果要复制相应的数据就改where条件,这个语句复制了源表的字段数量、顺序、类型、是否可为空 ...
分类:
数据库 时间:
2021-06-28 18:34:36
阅读次数:
0
kubernetes的三种探针 startupprobe: k8s1.16版本后新加的探测方式,用于判断容器内应用程序是否已经启动,如果配置了startuprobe,就会先禁用其他的探测,直到它成功为止,成功后将不再进行探测。 ReadinessProbe: 一般用于探测容器内的程序是否健康,它的返 ...
分类:
Web程序 时间:
2021-06-28 18:32:30
阅读次数:
0
一、大数据的基本特征(4V,存储单位) 二、大数据对思维方式的影响 三、Google 三辆马车是什么? Google的文件系统GFS(Google File System)、分布式计算框架MapReduce、Bigtable 四、Hadoop 是什么,基本特征 基本特征: 五、Hadoop 生态系统 ...
分类:
其他好文 时间:
2021-06-28 18:27:13
阅读次数:
0