- 博客(6)
- 收藏
- 关注
原创 【代码】【珠玑棋】拆弹专家里看了一个比较有意思的棋 但是又懒得买 就自己写了一个
【代码】【珠玑棋】抖音看来一个比较有意思的棋 但是又懒得买 就自己写了一个
2022-09-07 01:14:29 235 1
原创 Error:(9, 22) java: InetAddress()在java.net.InetAddress中不是公共的; 无法从外部程序包中对其进行访问
认真看会发现...教程里的不是new出来的...是直接 InetAddress.getlocalHost获取出来的...难怪直接new了没有getlocalHost方法。
2022-08-23 11:19:31 683
原创 IDEA 错误:找不到或无法加载主类
一不小心新建了一个内容相同的文件夹(module)这时候删掉其中一个就行感觉核心原因应该是下只改了hello 而没改 其他的anap:还有一个地方。如果是多模块,Project Structure,Modules,Sources选项卡,将除过java,resource,target等东西删除...
2022-04-27 01:58:28 606
原创 稀疏数组体验
package com.Array;public class ArraysDemo8 { public static void main(String[] args) { int[][] qi = new int[11][11]; //原数组 qi[1][2] = 1; qi[2][3] = 2; qi[6][3] = 3; System.out.println("out put..
2022-04-01 04:28:31 81
原创 自除数 同学的对比我的(俺真菜)
#include<iostream>#include<string>#include<vector>using namespace std;bool test(int input){ int zznum = input; vector<int> nums; bool isZero = false; int numNumber = 0; int temp = 1; //位数 while (input != 0) { int t .
2022-04-01 00:50:58 93
原创 自学java01计算器
package com.method;import java.util.Scanner;public class caculation { public static void main(String[] args) { Scanner sc1 = new Scanner(System.in); caculation ca1=new caculation(); int a1=0;int b1=0; if (1<0) {.
2022-03-31 16:05:59 283
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人