coderz.py

Keep Coding Keep Cheering!

Java.lang.Class class in Java

Java includes a class called Class in the java.lang package. In a running Java application, instances of the class Class represent classes and interfaces. Class objects also represent the primitive Java types (boolean, byte, char, short, int, long, float, and double), as well as the keyword void. It has no public builder. The Java Virtual […]

August 29, 2022 | Java | No comments

Reflection in Java

Reflection is a runtime API for inspecting and modifying the behavior of methods, classes, and interfaces. The classes required for reflection are provided in the java.lang.reflect package, which is required to understand reflection. Reflection informs us about the class to which an object belongs, as well as the methods of that class that can be […]

August 29, 2022 | Java | No comments

Advertisement