Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

Heres a simple implementation of the Journal class in Pythonclass Journal def initself authorname pa... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Java An Introduction To Problem Solving And Programming

Authors: Walter Savitch

8th Edition

0134462033, 978-0134462035

More Books

Students also viewed these Programming questions