![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
随笔答疑
对java基础编程中遇到的各种细节性问题与解决方法进行记录与分析。
NiceChance
这个作者很懒,什么都没留下…
展开
-
IO流基础概念图
原创 2020-05-13 16:26:09 · 163 阅读 · 0 评论 -
【IOException】at java.io.FileInputStream.open(FileInputStream.java:195)
package cn.fileinputstream.read;import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.IOException;/***@author:Chance Ni*@version:*@function:...原创 2020-04-11 09:31:02 · 2860 阅读 · 0 评论 -
Map不能直接实例化
代码片:Map<String,ArrayList<String>> map = new Map<String,ArrayList<String>>();提示错误:Cannot instantiate the type Map<String,ArrayList>Map不能实例化。原因:Map——>public abstr...原创 2020-04-05 22:44:32 · 1884 阅读 · 0 评论 -
Iterator迭代器源代码简单解析
翻译:/* * Copyright (c) 1997, 2013, Oracle and/or 版权 1997,2013,Oracle *its affiliates. All rights reserved. 及其附属公司,版权所有。 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is * ORACLE 所有权/机密 * subject t...原创 2020-03-29 20:10:39 · 464 阅读 · 0 评论 -
English Learning:One of Exception when debuging
Hot Code Replace FailedSome code changes cannot be hot swapped into a running virtual machine,such as changing method names or introducing errors into running code.The current target virtual machin...原创 2020-02-28 07:31:12 · 267 阅读 · 1 评论 -
继承关系内存图
原创 2020-02-15 10:31:08 · 347 阅读 · 0 评论 -
java-构造方法与super()及this()的一些问题
this在构造方法之间的应用1.this.区分 局部变量 和 成员变量同名情况;2.this用在构造方法中,用于调用有参构造方法format:this(parameter list),此句必须写在构造方法里的首行才正确;super在构造方法中的应用1.super是调用 父类的成员方法 或 成员变量在创建子类对象时,父类的构造方法将会先执行,因为子类中的所有构造方法的第一行都有默认的...原创 2020-02-14 13:29:57 · 595 阅读 · 0 评论