create table TbStudent(stuid integer not null,stuname varchar(20) not null,stusex bit default 1,stubirth datetime not null,stutel char(11),stuaddr var ...
分类:
其他好文 时间:
2021-03-16 13:47:22
阅读次数:
0
线程创建三个方法: 1.继承thread类 2.实现runnable接口 3.实现callable接口 实例: //线程的创建方法public class TestNew { public static void main(String[] args) { new Mythread1().start ...
分类:
编程语言 时间:
2021-03-16 11:55:44
阅读次数:
0
Binary Trees With Factors (M) 题目 Given an array of unique integers, arr, where each integer arr[i] is strictly greater than 1. We make a binary tree u ...
分类:
其他好文 时间:
2021-03-15 11:24:45
阅读次数:
0
Check If a String Contains All Binary Codes of Size K (M) 题目 Given a binary string s and an integer k. Return True if every binary code of length k is ...
分类:
其他好文 时间:
2021-03-15 10:41:54
阅读次数:
0
##1.基本数据类型的包装类 Java提倡的万物皆对象,但是数据类型的划分出现了基本数据类型和引用数据类型,那么我们怎么能把基本数据类型称为对象呢? 除了Integer和Character定义的名称和对应的基本类型差异大,其他六种都是将首字母大写就可以了。 Integer,Byte,Float,Do ...
分类:
编程语言 时间:
2021-03-15 10:38:35
阅读次数:
0
Integer.toHexString() 将数字转化为16进制表示 例: 170->aa; Scanner类 字符串输入--s.next()、s.nextLine()方法 next()方法读取到空白符就结束;nextLine()读取到回车结束也就是“\r” 输入有多组数据,没有说明输入几组数据,每 ...
分类:
其他好文 时间:
2021-03-09 13:27:59
阅读次数:
0
试了好多种,这个方法蛮好用的。有更好的,希望大家多多指教。 Dim ProNo As Integer, ProStr As String ProNo = IsRunning("SSS.exe") If ProNo = 0 Then Shell App.path & "\SSS.exe '" & st ...
分类:
其他好文 时间:
2021-03-09 13:17:05
阅读次数:
0
###1.我的解题代码 class Solution { public boolean containsDuplicate(int[] nums) { boolean flag = false; HashSet<Integer> set = new HashSet<>(); for(int i:nu ...
分类:
编程语言 时间:
2021-03-09 12:58:00
阅读次数:
0
无向图 我们用邻接图来表示图 具体实现的代码 public class Graph { private final int V; private int E; private Bag<Integer>[] adj; public Graph(int V){ this.V = V; E = 0; ad ...
分类:
其他好文 时间:
2021-03-08 14:20:08
阅读次数:
0
包装类 基本数据类型所对应的引用数据类型 0bject可统一所有数据,包装类的默认值是null 包装类对应 基本数据类型 包装类型 byte Byte short Short int Integer long Long float Float double Double boolean Boolea ...
分类:
其他好文 时间:
2021-03-08 14:18:04
阅读次数:
0