The Java Environment


Download 403 Kb.
bet2/8
Sana25.01.2023
Hajmi403 Kb.
#1118810
1   2   3   4   5   6   7   8
Bog'liq
J01 Java Environment

OO language features

  • OO language provides constructs to:
    • Define classes (types) in a hierarchic way (inheritance)
    • Create/destroy objects dynamically
    • Send messages (w/ dynamic binding)
  • No procedural constructs (pure OO language)

Java features

  • Platform independence (portability)
    • Write once, run everywhere
    • Translated to intermediate language (bytecode)
    • Interpreted (with optimizations, e.g. JIT)
  • High dynamicity
  • Automatic garbage collection

Java features (cont’d)‏

Java features (cont’d)‏

  • Shares many syntax elements w/ C++
    • Learning curve is less steep for C/C++ programmers
  • Quasi-pure OO language
    • Only classes and objects (no functions, pointers, and so on)
  • Basic types deviates from pure OO...
  • Easy to use

Java features - Classes


Download 403 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling