Java is a class-based, statically typed programming language whose ordinary implementation compiles source into bytecode for a Java virtual machine. Its type system, exception rules and object model specify program behaviour; the virtual machine supplies execution and managed storage. Generics in Java add parameterized types checked largely at compilation, with type erasure shaping their runtime representation. The Java language, the virtual-machine specification and a particular vendor's development kit are separate layers, so an implementation detail should not be mistaken for a universal language rule.[ref]
// Target: computer-science.bigb
JavaFX PhongMaterial is the JavaFX material class for local lighting based on the Phong reflection model. It combines diffuse and specular components, colors and texture maps to determine a rendered surface's appearance. When a diffuse color and diffuse map are both supplied, their components multiply rather than one simply replacing the other.[ref]
For example, a green diffuse color tints an image texture green, while changing specular power changes highlight concentration. A high value produces a narrower highlight; it does not turn the object into a mirror of the surrounding scene. The official class documentation explicitly excludes environment-mirror behavior and refraction effects for this material. Consequently a glossy-looking object is an approximation supplied by a lighting model, not a simulation of every optical interaction.
An interface specifies a type contract that independent classes can implement. Code accepting the interface can operate on multiple implementations, avoiding dependence on one concrete class. A class may implement several interfaces despite having only one direct class superclass.
// Destination: computer-science.bigb
A field declared private is hidden from ordinary external source-level access. Library methods can enforce invariants and change the representation without exposing storage to clients. Returning a mutable internal object can still undermine this encapsulation in object-oriented programming.
// Destination: computer-science.bigb
A class declared final cannot be subclassed. This can protect an implementation contract against overriding in an untrusted subclass. It does not by itself make the class immutable, and it rules out subclass-based customization.
// Destination: computer-science.bigb
A protected method is accessible to code in its package and, subject to the cross-package receiver restriction, to subclasses elsewhere. It can expose a subclass customization hook without being a public client operation. Protected access is broader than subclass-only access.
// Destination: computer-science.bigb
Java arrays are fixed-length objects. A two-dimensional array is an array of row-array references, so rows can have different lengths and must be allocated separately if not allocated by the initial expression.
// Target: computer-science.bigb
Generics in Java parameterize classes, interfaces and methods by reference types so reusable code can retain compile-time type checks. For example, List<String> describes a list whose elements are strings, and retrieving one has static type String. Java generic types are generally invariant: List<Integer> is not a subtype of List<Number>. Wildcards express related producer or consumer views. Type erasure means a parameterized class usually has one shared runtime class rather than a fresh class for each type argument. Primitive values use wrapper types in ordinary generic collections.[ref]
// Target: computer-science.bigb
A method declaring its own type parameters, for example <T> List<T> singletonList(T value). The type parameter connects argument and result types and permits compile-time checking without casts at ordinary call sites. A method mentioning only a generic class's type parameter need not itself be a generic method.
// Destination: computer-science.bigb
Even when S is a subtype of T, neither G<S> nor G<T> is generally a subtype of the other. This prevents unsafe writes into mutable generic containers. Wildcards express restricted views.
// Target: computer-science.bigb
In Java, type erasure implements generic code by replacing a type parameter with its bound, or Object if unbounded, while inserting required casts and bridge methods. Thus List<String> and List<Integer> share a runtime list class even though the compiler checks different element types. Some generic type information remains in metadata for reflection, so erasure does not mean every trace of generic declarations disappears. Restrictions such as the inability to directly create new T() follow from the absence of a distinct reified runtime class for arbitrary type arguments.[ref]
// Target: computer-science.bigb

Articles by others on the same topic (1)

Java is good.
Its boilerplate requirement is a pain, but the design is otherwise very clean.
But its ecosystem sucks.
The development process is rather closed, the issue tracker obscure.
And above all, Google LLC v. Oracle America, Inc. killed everybody's trust in it once and for all. Thanks Oracle.
Video 1.
Java for the Haters in 100 Seconds by Fireship (2022)
Source.