计算机二级java复习,考前抱佛脚

image-20220924185824484

数据库:

选择操作,指的是where a = ?这种条件

投影操作,指的是指定若干属性,即select a,b,xxx 这样的选择属性!——>容易和选择混淆

image-20220924190123773

自然连接对于列来说是并集,对于行来说是交集!

java是16位unicode

image-20220924190246211

相当于是1000右移两位,变成了0010,所以是2!

image-20220924190358875

输入输出一定是io流

image-20220924190534686

image-20220924190644447

java中基本数据类型取值:

image-20220924190815476 image-20220924190913494

image-20220924192423689

java中是按值传递的,是值的拷贝,而不是原来的那个变量!!!

image-20220924192604356

image-20220924192709383

setLayout(new BorderLayout());

Container container = getContentPane();//JFrame中的getContentPane()方法可以生成一个容器对象

JOptionPane.showMessageDialog( null, output, “abc”, JOptionPane.INFORMATION_MESSAGE );

控制台输入:

Scanner scan = new Scanner(System.in);
scan.nextInt();

image-20220924222322995

猜你喜欢

转载自blog.csdn.net/m0_58768224/article/details/130036609
今日推荐