public class ArrayListTest { public static void main(String[] args) { String[] arr = new String[]{"AA", "BB", "CC", "DD", "EE"}; // 数组的复制 String[] arr ...
分类:
编程语言 时间:
2021-02-08 12:03:48
阅读次数:
0
public class Demo01 { public static void main(String[] args) { //八大基本数据类型 //整数 int num=10; //最常用的 byte num1=20; short num3=30; long num4=30L;//Long类型要 ...
分类:
其他好文 时间:
2021-02-08 11:43:03
阅读次数:
0
第一个GUI界面 import java.awt.*; //GUI第一个界面 public class TestFrame { public static void main(String[] args) { Frame frame = new Frame("我的第一个java图形界面"); //设 ...
分类:
其他好文 时间:
2021-02-08 11:40:12
阅读次数:
0
4.4 数据类型扩展及面试题讲解 整数扩展 进制 二进制:0b 八进制:0 十进制 十六进制:0x public class dataTypeExpansion { public static void main(String[] args) { int a = 10; int b = 010; / ...
分类:
其他好文 时间:
2021-02-06 12:12:00
阅读次数:
0
Net Core使用Log4net报错,添加代码即可 static void Main(string[] args){ System.Text.Encoding.RegisterProvider(System.Text.CodePagesEncodingProvider.Instance); } 转 ...
分类:
移动开发 时间:
2021-02-06 12:11:25
阅读次数:
0
addDatabase的函数原型如下: [static] QSqlDatabase QSqlDatabase::addDatabase( const QString &type, const QString &connectionName = QLatin1String( defaultConnec ...
分类:
数据库 时间:
2021-02-06 11:55:31
阅读次数:
0
vue-base 项目初始化 vue create vue-base Project setup npm install Compiles and hot-reloads for development npm run serve Compiles and minifies for producti ...
分类:
其他好文 时间:
2021-02-05 10:50:49
阅读次数:
0
HelloWorld 随便新建一个文件夹,存放代码 新建一个java文件 文件后缀名为.java Hello.java 【注意点】后缀名 编写代码 public class Hello{ public static void main(String[] args){ System.out.print ...
分类:
其他好文 时间:
2021-02-05 10:48:41
阅读次数:
0
public class Demo02 { public static void main(String[] args) { //八大基本类型 //整数 int num1 = 10; //最常用 byte num2 = 20; short num3 = 30; long num4 = 30l; // ...
分类:
其他好文 时间:
2021-02-05 10:43:51
阅读次数:
0
C# 简单粗暴的毫秒转换成 分秒的格式 1:code(网络上很多都是错误的,或者存在bug,只好自己写一个了) 1 public static string RevertToTime(double milliSeconds)//毫秒 2 { 3 double getsecond = milliSec ...