Use class without instance (like e.g. String)

While in the use case you're thinking of, it may appear that an instance isn't being created, it actually is! The instance is temporary and destroyed after its use in the statement.

As already noted, you can do this with any class.