Book with two public properties: title and author.title and author when creating a new Book object.__toString() method to return the string "Title by Author" using the object's properties.Book with title "1984" and author "George Orwell".Book object to display the string representation.