Question: Define a class called Journal that could be used to store an entry for a research paper that will be published. The class should have

Define a class called Journal that could be used to store an entry for a research paper that will be published. The class should have instance variables to store the author's name, title of the paper, and the date of submission. Add a constructor to the class that allows the user of the class to set all instance variables. Also add a method, displayDetails(), that outputs all the instance variables, and another method called getSubmissionDetails() that returns the title of the paper, with the first letter of each word capitalized. Test your class from the main() method.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a simple implementation of the Journal class in Pythonclass Journal def initself authorname pa... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!