+2 votes
in JAVA by

Difference between static and dynamic class loading.

1 Answer

0 votes
by
Static class loading: The process of loading a class using new operator is called static class loading. Dynamic class loading: The process of loading a class at runtime is called dynamic class loading.

Dynamic class loading can be done by using Class.forName(….).newInstance().

Related questions

0 votes
asked Apr 8, 2021 in JAVA by SakshiSharma
0 votes
asked Oct 13, 2022 in Other by Robindeniel
...