Автор: Informatic Languages
Издательство: Informatic Languages
Год: 2020
Страниц: 1244
Язык: английский
Формат: pdf, azw3, epub
Размер: 13.1 MB
Learn how to program Java language, complete guide.
Java is intended to let application developers "write once, run anywhere" (WORA), meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java code is compiled to bytecode (the .class files) which in turn get interpreted by the Java Virtual Machine (JVM). In theory, bytecode created by one Java compiler should run the same way on any JVM, even on a different kind of computer.
There are three "editions" of Java defined by Sun/Oracle:
- Java Standard Edition (SE) is the edition that is designed for general use.
- Java Enterprise Edition (EE) adds a range of facilities for building "enterprise grade" services in Java. Java EE is covered separately .
- Java Micro Edition (ME) is based on a subset of Java SE and is intended for use on small devices with limited resources.
The Java programming language is...
- General-purpose : It is designed to be used for writing software in a wide variety of application domains, and lacks specialized features for any specific domain.
- Class-based : Its object structure is defined in classes. Class instances always have those fields and methods specified in their class definitions (see Classes and Objects ). This is in contrast to non-class-based languages such as jаvascript.
- Statically-typed : the compiler checks at compile time that variable types are respected. For example, if a method expects an argument of type String , that argument must in fact be a string when the method is called.
- Object-oriented : most things in a Java program are class instances, i.e. bundles of state (fields) and behavior (methods which operate on data and form the object's interface to the outside world).
- Portable : It can be compiled on any platform with javac and the resultant class files can run on any platform that has a JVM.
Скачать Learning Java Coding Language: Complete tutorial