Angesthan
Angesthan
全部文章
java
c++模板(10)
python(1)
未归档(1)
练习题(6)
题解(10)
归档
标签
去牛客网
登录
/
注册
Angesthan的博客
全部文章
/ java
(共11篇)
递归
/* 递归结构两个部分: 1.定义递归头 2.递归体 */ public class TestRecursion01 { public static void main(String[] args) { long d1= System.curre...
2020-03-17
0
331
方法与方法重载
public class TestMethod { public static void main(String[] args) { //通过对象调用普通方法 TestMethod tm = new TestMethod(); tm.print...
2020-03-17
0
405
使用Scanner获取键盘输入
import java.util.*; public class TestScanner { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); ...
2020-03-17
0
424
Apple程序
import java.awt.*; import java.applet.*; import javax.swing.*; public class HelloWorldApplet extends Applet { public void paint(Graphics g) { ...
2020-03-15
0
382
位运算符
public class IndentifierTest01{ public static void main(String[] args) { int a = 3; int b = 4; System.out.println(a&b);//按位与 Syste...
2020-02-17
0
395
数据类型
1.整形public class IndentifierTest01{ public static void main(String[] args) { //byte一个字节 //short两个字节 //int 四个字节 //long 八个字节 //测试整...
2020-02-16
0
402
常量
public class IndentifierTest01{ public static void main(String[] args) { final double PI=3.14;//定义常量 //PI=3.15;//编译错误,不能再被赋值! ...
2020-02-16
0
338
变量
package 赵靖通; /* 关于java语言当中的变量 1.什么是变量? *变量本质上来说是内存中的一块空间"有数据类型、名字、字面值"。 *变量包括三部分,数据类型、名称、字面值【数据】 ...
2020-02-16
0
429
字面值
/* 关于字面值: *字面值: -10、100 -3.14 -"abc" -'a' *字面值就是数据(字符串、浮点、整型) *...
2020-02-16
0
314
标识符
package 赵靖通; /* 关于java语言当中的标识符 1.什么是标识符? -在java源程序当中凡是程序员有权力自己命名的单词都是标识符。 -标识符可以标识什么元素? *类名 *方法名 *变量名 ...
2020-02-16
0
358
首页
上一页
1
2
下一页
末页