public class Main { public static void main(String[] args) { test test = new test(); test.xxx(new zi()); } } class fu{ public void x(){ System.out.pri ...
分类:
其他好文 时间:
2021-04-20 14:06:09
阅读次数:
0
1. Binder的系统日志文件 # ps -A | grep suspend system 699 1 2184444 4564 binder_ioctl_write_read 0 S android.system.suspend@1.0-service # ls /proc/699/fd -l ...
分类:
其他好文 时间:
2021-04-19 15:59:18
阅读次数:
0
Java常用类:System类 System 系统类主要用于获取系统的属性数据和其他操作,构造方法私有 常用方法 方法名 说明 static void arraycopy(); 复制数组 static long currentTimeMillis(); 获取当前系统时间,返回的是毫秒值 static ...
分类:
编程语言 时间:
2021-04-19 15:47:34
阅读次数:
0
jvm探究(Java Virtual Machine) java虚拟机模型 一、JVM的基本介绍 JVM 是 Java Virtual Machine 的缩写,它是一个java实现的虚拟计算机,一种规范。通过在实际的计算机上仿真模拟各类计算机功能实现··· 好,其实抛开这么专业的句子不说,就知道JV ...
分类:
其他好文 时间:
2021-04-19 15:40:17
阅读次数:
0
@ 问题描述 通过new Scanner(System.in).next();输入一段中文字符串并显示到控制台时,输出的总是一些00???@@@等之类的乱码。 代码如下: Scanner sc = new Scanner(System.in); System.out.println("请输入中文:" ...
分类:
编程语言 时间:
2021-04-19 15:13:17
阅读次数:
0
sar(System Activity Reporter系统活动情况报告)是目前 Linux 上最为全面的系统性能分析工具之一,可以从多方面对系统的活动进行报告,包括:文件的读写情况、系统调用的使用情况、磁盘I/O、CPU效率、内存使用状况、进程活动及IPC有关的活动等。本文主要以CentOS 6. ...
分类:
系统相关 时间:
2021-04-19 15:09:15
阅读次数:
0
依赖范围 对于编译classpath有效 对于测试classpath有效 对于运行时classpath有效 compile Y Y Y test - Y - provided Y Y - runtime - Y Y system Y Y - ...
分类:
其他好文 时间:
2021-04-19 15:02:44
阅读次数:
0
C#中对xml数据的读取和写入: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using System.Xml; using ...
1.Scanner对象:可以通过使用Scanner 类来获取用户的输入 基本语法: Scanner s = new Scanner(System.in); 通过Scanner 类的next()与nextline() 方法获取输入的字符串,在读取前我们需要使用hasnext()与hasnextline ...
分类:
编程语言 时间:
2021-04-19 14:13:52
阅读次数:
0
1. 多态 多态 1.1 多态概述 代码示例: 动物类: public class Animal { public void eat(){ System.out.println("动物吃东西"); } } 猫类: 多态的前提有继承/实现关系,所以猫类要继承动物类。 public class Cats ...
分类:
编程语言 时间:
2021-04-16 12:17:46
阅读次数:
0