Java 语言特性

  • Static typing
  • Object oriented (Encapsulation, Inheritance, Polymorphism)
  • Based on JVM

JVM

JAVA core and an introduction to Spring Fundamentals

  • JVM Memory
    • Heap
    • Stack
  • Garbage Collection(GC)
    • Automatic memory management
    • Mark & Sweep
  • JVM languages
    • Scala
    • Groovy

JDK & JRE

  • JDK

    A superset of a JRE and contaiins tools for JAVA programmers such as javac commpiler ,Jconsole

  • JRE

    It includes a JVM implementation together with an implementation of the JAVA Class Library

JDK Packages

JAVA Fundamentals

  • Interface
  • Class
  • Accessor
  • Annotation

JAVA多线程

  • Two basic ways(comparison)
    • Implements runnable interface
    • Extends Thread class
  • Synchronized methods and statements

Immutable Objects

  • why use Immutable Object
    • When an object is considered immutable if its state cannnot change after it is constructed, like weibo post
  • example
    JAVA core and an introduction to Spring Fundamentals

相关文章:

  • 2021-11-08
  • 2021-04-07
  • 2021-12-07
  • 2021-05-08
  • 2021-11-10
  • 2022-01-05
  • 2021-12-06
  • 2022-12-23
猜你喜欢
  • 2021-09-20
  • 2021-05-25
  • 2021-06-14
  • 2021-10-12
  • 2021-08-02
相关资源
相似解决方案