0 votes
in JAVA by (30.4k points)
What is the purpose of using java.lang.Class class?

1 Answer

0 votes
by (30.4k points)

The java.lang.Class class performs mainly two tasks:

Provides methods to get the metadata of a class at runtime.

Provides methods to examine and change the runtime behavior of a class.

Click here to read more about JAVA
Click here to read more about Insurance

Related questions

0 votes
asked Jan 24, 2021 in JAVA by rajeshsharma (23.1k points)
0 votes
asked Aug 21, 2022 in JAVA by sharadyadav1986 (30.4k points)