getClass(): This method returns the runtime class of an object. It can be useful when you want to determine the type of an object at runtime.
format(): The format() method is used to create formatted strings by replacing placeholders with actual values. It allows you to control how data is displayed in strings.
StringBuilder: StringBuilder is a mutable sequence of characters that can be modified without creating new instances. It provides efficient ways to build strings dynamically.