Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this problem, it says that Date cannot be resolved to a type. Does Date need a class of its own? If so, what does
For this problem, it says that Date cannot be resolved to a type. Does Date need a class of its own? If so, what does it look like? Am I supposed to make Date an object in the same Blog entry class?
Not really sure what to do here.
65%-11 :38 AM Absolute Java Chapter 4 Problem 4PP Expand all Share Step 1 Program Plan: .Define a BlogEntry class that will be able to store entries for a Web log: this will include the poster's username as a String, the text the poster has entered as another String, and the date of the entry as a Date object. Create a constructor to initialize all of the BlogEntry's variables. Create a method DisplayEntry that outputs each of the instance variables as well as a method getSummary that returns the first ten words of the post. Test the method with a main method Step 2
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started