Is a class also a type in Java?

Java provides a class with name Class in java. … Instances of the class Class represent classes and interfaces in a running Java application. The primitive Java types (boolean, byte, char, short, int, long, float, and double), and the keyword void are also represented as Class objects.

Sizin İçin Seçtik  OAuth2 authorization code flow nedir?

Leave a Reply

Your email address will not be published. Required fields are marked *