GithubHelp home page GithubHelp logo

javabasics's Introduction

Java基础案例

chap2 数据类型、类型转换、、数据操作、表达式。 选择结构if-else、switch-case。 循环结构for、while、do-while、for增强型语句foreach。 数组、多维数组。

chap3 类、属性变量、方法行为。 类修饰符、变量修饰符、方法修饰符、静态变量、静态方法。 方法重载、类构造方法、this引用成员变量、this引用构造方法、this引用自身和成员方法。

chap4 继承、方法重写。 super引用父类构造方法、super引用父类成员方法、构造方法的继承与调用顺序、对象向上/向下转型、instanceof运算符。 方法重载实现静态多态、动态多态条件:继承、重写、父类引用子列对象(对象类型转换——向上转型)、抽象类和抽象方法abstract、最终方法final、接口interface。 数学函数Math、StringBuffer/StringBuilder、Date、SimpleDateFormat/DateFormat、日历功能GregorianCalendar/Calendar

chap5 Collection接口、Iterator遍历。 List及ListIterator接口、ArrayList类、LinkedList类、栈结构(Stack)、队列结构(Queue)、堆栈Stack类。 重写hashcode及equals方法、实现Comparable接口-静态绑定排序、HashSet类、TreeSet类。 HashMap类、Comparator动态比较接口、Collections集合类。

chap8 new/del/copy/move操作文件File、文件字节输入流FileInputStream、文件字节输出流FileOutputStream。 文件字符输入流FileReader、文件字符输出流FileWriter、缓冲字节输入输出流BufferedInputStream/BufferedOutputStream、缓冲字符输入输出流BufferedReader/BufferedWriter。 数据流DataInputStream/DataOutputStream、Serializable接口、对象输入输出流ObjectInputStream/ObjectOutputStream。 继承Thread类、实现Runable接口、线程状态转变(新建-就绪-死亡-阻塞)、线程强制销毁(Thread的stop和destory、run方法和标志位)、让出CPU使用权yield、等待执行join、synchronized同步关键字

javabasics's People

Stargazers

cmyshare avatar

Watchers

cmyshare avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.