自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 输出二进制文件

string filePath = Path.Combine(subFolderPath_Telemetry, hourFolderName + "_" + "数据FF.bin");string rootFolder_Telemetry = "造数据";

2023-08-31 21:52:43 36

原创 mysql与tomcat

(1) 在ClassPath的变量值中加入:%CATALINA_HOME%\lib\servlet-api.jar;用MySQL不怎么好用,随后下载Navicat Premium 16,连接MySQL报错,什么1045,密码有问题。变量名分别为CATALINA_BASE和CATALINA_HOME,变量值为Tomcat的安装目录。这里报错,需要去服务里面改属性,不需要重新卸载安装,然后本地服务就能启动了。寻找mysql安装.min什么文件,去把密码略过去,就能连接上mysql了。

2022-09-20 17:56:38 460 1

原创 运用switch,用年份算出生肖

代码:public class Test {public static  void main(String[] args) {    int  year = 1996;//输入参数    int temp =(year-4)%12;            switch (temp)    {            case 0:            System.out....

2018-09-19 21:20:11 6209

原创 用while循环,实现九九乘法口诀

public class Mult {    public static void main(String[] args) {        int i=0;        {            while ( i<=8)            {                i++;                int j =0;                w...

2018-09-19 15:12:01 7215

原创 定义一个公交车,运用extends来分类

Bus:private float price;    private Driver[] drivers;        public Bus (int number,String line,float price,int driverCount) {         this.number =number ;         this.line =line;         th...

2018-09-19 08:49:49 275

原创 打印三角形空心星星

首先写一个主方法:public class Test {    public static void main(String[] args) {        number.printStar(9);    }}然后定义一个整形参数number:public class number {public static void printStar(int num)    ...

2018-09-19 08:35:07 885

原创 创建一个类别:医生,并且使用方法调用

doctor创建类别与方法:public class Doctor {    private String name;    private String sex;    private int age;    private String department;    public void setName(String name) {        this.name = n...

2018-09-11 22:45:22 1558

原创 java 九九乘法口诀

方法:public class MT {  public static void printMT ( int num )  {      if(num>0)                                 for(int j =1;j<=num;j++)              {                  for(int k=1;k&l...

2018-09-11 21:04:33 580

原创 输入变量,用星号打印菱形

public class star{    public static void main(String[] args)     {          int x =3;//输入变量                    for(int i = 1; i <= x; i++)           {                for(int j = 1; j <= x...

2018-09-09 16:48:08 1115

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除