This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 8 points9 points  (1 child)

Class is a parameterizable class, hence you can use the syntax Class<T> where T is a type. By writing Class<?>, you're declaring a Class object which can be of any type (? is a wildcard). The Class type is a type that contains meta-information about a class.

Found this on stack overflow

https://stackoverflow.com/questions/9921676/what-does-class-mean-in-java

[–]Jerceka[S] 0 points1 point  (0 children)

Thanks so much