Coder Social home page Coder Social logo

interview's Introduction

超简单java基础练习代码

有的时候越简单的东西,可能越不在意

恰恰是一些细节,基础,造成的影响会更加的深远

1. cite包:java中的值传递(针对引用数据和基本数据)

2. duplicate包:利用set的特性快速给list集合去重

3. equals包:包装类型和基础数据类型的 == 以及equals比较;重写euqals方法一定要重写hashCode方法

4. hashmap包:java 中 && 优先级高于 ||,以及hashmap可以存null吗?

5. list包:略

6. polymorphism包:java中的多态练习

7. staticorder包:java中对象的生成顺序

8. string包:java中的String类型(常量池,intern方法入池,以及+符号的两种形式)

9. Thread包:Lock锁完成多线程操作;使用lock锁的condition对象完成线程通信(虚假唤醒)

10. 关于自己整理的一份java知识笔记,后续也会上传(java博大精深,死记硬背永远没有出路,试着去理解,然后用自己的话语陈述出来,不完美,但是总归在学习,在进步,在一点点变好)

interview's People

Contributors

zc-cris 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.