摘要: 2023.10.17 1. A int i =1000; B float f = 45.0; C char s = ‘\u0639’; D Object o = ‘f’; E String s = "hello,world\0"; F Double d = 100; G double d1 = 10 阅读全文
posted @ 2023-10-17 23:12 sellingpear 阅读(21) 评论(0) 推荐(0)
摘要: 2023.10.17 1. public class Tester{ public static void main(String[] args){ Integer var1=new Integer(1); Integer var2=var1; doSomething(var2); System.o 阅读全文
posted @ 2023-10-17 23:07 sellingpear 阅读(55) 评论(0) 推荐(0)
摘要: 2023.10.17 1. 计算余弦值使用Math类的cos()方法 toRadians()是将角度转换为弧度 toDegrees()是将弧度转换为角度 2023.10.28 1.Math.floor(x)返回小于等于x的double值 2024.7.11 1. double ceil = Math 阅读全文
posted @ 2023-10-17 23:01 sellingpear 阅读(35) 评论(0) 推荐(0)
摘要: 2023.10.17 1. public class Demo { public static void main(String args[]) { String str1 = new String("hello"); String str2 = new String("hello"); Strin 阅读全文
posted @ 2023-10-17 23:00 sellingpear 阅读(26) 评论(0) 推荐(0)
摘要: 2023.10.16 1.做ddos高防,防止IP爆破 阅读全文
posted @ 2023-10-17 00:05 sellingpear 阅读(16) 评论(0) 推荐(0)