[Difference Between Class.forName() and Class.forName().newInstance()] sample code (#13451)

This commit is contained in:
Dmitriy Budim
2023-02-08 22:48:26 +01:00
committed by GitHub
parent 0ede8fa526
commit 8ebfa69554
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package com.baeldung.loadclass;
public class MyClassForLoad {
private String data = "some data";
}