In my main method, my first argument is a class PersonInfo lets say. How do I do this?
if(argument.equals(PersonInfo) {
//invoke method A
}
if(argument.equals(MyInfo) {
//invoke method B
}
Since arguments in main method are Strings, how do I check if these Strings equal my class name?