Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我Class.forName("classname")用来获取一个Class对象,我想将Class对象转换为String,这意味着反编译java文件,并将这个字符串显示给GUI。
Class.forName("classname")
我能怎么做?谢谢
Java 不会为你反编译类——你需要一个单独的反编译器。试试这个答案,这是建议的。