摘要:
在dataGrip中直接 使用 set serverout on 后 调用存储过程也是无法再控制台中看到输出。 解决方案:在控制台点一下这个图标 然后就能看到输出了。 创建存储过程的语句: create procedure SP_emp as --声明变量 V_sal number(20,2); b 阅读全文
摘要:
public class Poker { public static void main(String[] args) { /* * 1: 准备牌操作 */ //1.1 创建牌盒 将来存储牌面的 ArrayList<String> pokerBox = new ArrayList<String>() 阅读全文
摘要:
生成10个10到100之间的随机数 public void test01() { List<Integer> list = new ArrayList<>(); for (int i = 0; i < 10; i++) { int number = (int) (Math.random() * 90 阅读全文