how to get the class name as a value code example Example: how get class name String className = this.getClass().getSimpleName();