But can you pass classes around as objects after they're loaded? Do they have a value beyond their identifier?
Class c = [SomeRandomClass class];
id thingy = [[c alloc] init];
but Java won't let you do the equivalent: Class c = SomeRandomClass;
Object x = new c; Class c = SomeRandomClass.class;
Object x=c.newInstance();In Java's type system, classes are 'first class objects':