Java / JDK, JRE, JVM, JIT
What is synthetic construct in Java?
Synthetic constructs are class, fields, and methods that are not defined in Java source code and created by the Java compiler while compiling.
For switch statement, Java compiler creates a synthetic field that start with $, and also for the local classes which is required by the VM.
Synthetic constructs are also known as dynamic proxy.
More Related questions...