How to get a class name without a package

Asked 2 years ago, Updated 2 years ago, 32 views

In C#, there are Type.FullName and Type.Name as a way to get the name of type without namespace. Is there a way to get the name of class without package in Java?

Type of C# in Java.What is there to play the role of Name?

java

2022-09-22 22:00

1 Answers

Class.getSimpleName().


2022-09-22 22:00

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.