Java入门 Java特性和优势 简单性 面向对象 可移植性 高性能 分布式 动态性 多线程 安全性 健壮性 Java三大版本 Write Once、Run Anywhere JavaSE:标准版(桌面程序,控制台开发……) JavaME:嵌入式开发(手机,小家电……) JavaEE:E企业级开发( ...
分类:
编程语言 时间:
2021-03-30 13:05:56
阅读次数:
0
leetcode 173. 二叉搜索树迭代器:实现一个二叉搜索树迭代器类BSTIterator ,表示一个按中序遍历二叉搜索树(BST)的迭代器。 ...
分类:
其他好文 时间:
2021-03-30 13:04:24
阅读次数:
0
什么是运行时类 加载到内存中的类 Class类与运行时类的关系 Class类的一个实例对应加载到内存中的一个运行时类 获取Class类的方法 调用运行时类的属性.class Class uclass = String.class; 通过运行时类的对象,调用getClass()方法 String s ...
分类:
其他好文 时间:
2021-03-30 13:03:08
阅读次数:
0
首先说明一下今天的文章不是水文,是纯干货,同时拿P7Offer也是手下的一个人!今天我们就来看看阿里P7需要精通哪些技术!这里需要注意的是我用到的是精通二字! PS:本篇的内容有点多,请大家耐心看完,文章后半段有小惊喜哈~ 首先是基础素质素养 计组原理深入、文件系统深入、网络IO模型、JVM模型深入 ...
分类:
编程语言 时间:
2021-03-30 12:54:33
阅读次数:
0
此种写法是Java8 Lambda表达式 双冒号运算就是Java中的方法引用 method references [方法引用]的格式是 类名::方法名 举例: 1.表达式: person -> person.getName(); 可以替换成: Person::getName 2.表达式: () -> ...
分类:
编程语言 时间:
2021-03-30 12:52:29
阅读次数:
0
On a campus represented as a 2D grid, there are N workers and M bikes, with N <= M. Each worker and bike is a 2D coordinate on this grid. Our goal is ...
分类:
其他好文 时间:
2021-03-30 12:51:26
阅读次数:
0
1.输入一个年份,判断是不是闰年(能被4整除但不能被100整除,或者能被400整除) package ktlx; import java.util.Scanner; public class Ktlx1 { /** * @param args */ public static void main(S ...
分类:
编程语言 时间:
2021-03-30 12:51:02
阅读次数:
0
We can rotate digits by 180 degrees to form new digits. When 0, 1, 6, 8, 9 are rotated 180 degrees, they become 0, 1, 9, 8, 6 respectively. When 2, 3, ...
分类:
其他好文 时间:
2021-03-30 12:50:16
阅读次数:
0
java.io流的基本常用类 Java.io包下面的类主要是对文件的操作 包括File,inputStream,OutputStream,Reader和Writer及其子类。 1. FLie类 File类常用构造函数: String parentPath = "C:\\Users\\Administ ...
分类:
编程语言 时间:
2021-03-30 12:49:11
阅读次数:
0
Given a fixed length array arr of integers, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond ...
分类:
其他好文 时间:
2021-03-30 12:46:57
阅读次数:
0