1、概念 使用static 修饰成员变量,此时该成员变量又对象层级提升到类层级,被所有对象共享 该成员变量随着类的加载而准备就绪,与是否创建对象无关. 总之:类存在的时间比对象早 2、修饰的范围 static 修饰符表示静态的,可修饰字段、方法、代码块、内部类,其修饰的成员属于类,也就是说 stat ...
分类:
其他好文 时间:
2021-05-03 11:49:22
阅读次数:
0
Mysql配置读写数据库 ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER privilege(s) for this operation 原因之前mysql的vi /etc/my.cnf 修改配置没有重启 ...
分类:
其他好文 时间:
2021-04-30 12:42:22
阅读次数:
0
//在不使用任务插件的情况下读取DWG文件的缩略图,以便在没有安装AutoCAD的计算机上浏览。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using Syst ...
抽取为接口后, springboot事务开启,不在报错。 @Transactional public interface DescriptionService { public Description addDescription(Description description) ; 启动类 @Sp ...
分类:
其他好文 时间:
2021-04-30 12:36:32
阅读次数:
0
PowerBI可以通过RLS(Row-level security)限制用户对数据的访问,过滤器在行级别限制数据的访问,用户可以在角色中定义过滤器,通过角色来限制数据的访问。在PowerBI Service中,workspace中的member能够访问Workspace中的Dataset,RLS不会 ...
分类:
其他好文 时间:
2021-04-30 12:35:30
阅读次数:
0
快速傅里叶变换:在 \(O(nlog(n))\) 内求出两个多项式的卷积 ###前置知识 ####多项式的点表示法 对于任意一个多项式 \(A(x)=a_0+a_1x^1+a_2x^2+a_3x^3+...+a_nx^n\),我们都可用 \(n+1\) 个点将它表示出来 证明 任取 \(n+1\) ...
分类:
其他好文 时间:
2021-04-30 12:27:41
阅读次数:
0
```javapublic class oopDemo6Student { String name; int age; public void study(){ System.out.println(this.name+"在学习"); }}//person >名字、生日、身高、体重//类(抽象) > ...
分类:
其他好文 时间:
2021-04-30 12:16:19
阅读次数:
0
public class oopDemoStufent2 { //static是一个静态方法 public static void say1(){ System.out.println("学生说好"); }} public class oopDemoStudent { //没有static就是非静态 ...
分类:
其他好文 时间:
2021-04-30 12:15:30
阅读次数:
0
一、循环嵌套 1. 下列代码的运行结果是( ) public static void main(String[] args){ int count = 0; for(int j = 0;j<3;j++) { for(int i = 0;i<6;i++) { count++; } } System.o ...
分类:
编程语言 时间:
2021-04-30 12:15:08
阅读次数:
0
压力测试工具 jmeter http stree 硬件测试 mysqlslap 数据库压力测试工具 ####tomcat配置参数优化 #####1.注释8009 <!-- <Connector protocol="AJP/1.3" address="::1" port="8009" redirect ...
分类:
其他好文 时间:
2021-04-30 12:13:59
阅读次数:
0