dir() function returns list of all object attributes. pprint() method provides pretty formatted object representation. getattr() function retrieves attribute values with default values. __dict__ attribute returns dictionary of object properties and values. vars() function returns __dict__ of objects with __dict__ attribute
String represents text in programming like integers or floats. String length includes space between words. Characters are represented by pointers starting from 0
Accessible both inside and outside class scope. Default public method type. Used for displaying information and interface methods. Allows program/client to change object state
Attributes are variables belonging to objects containing properties and characteristics. Methods are functions associated with objects performing specific assignments. Both are fundamental building blocks of object-oriented programming
Methods define business logic and interactions among object data. Method consists of access modifier, return type, identifier, parameters, exceptions, and body. Method identifier can have up to 65536 characters
Access modifiers control the scope of classes, variables, methods and constructors. They are also known as visibility modifiers. Access modifiers can be specified separately for classes, constructors, fields and methods