Question: 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

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.

a type. Does Date need a class of its own? If so,

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

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!