Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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.

image text in transcribed

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

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

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

More Books

Students also viewed these Databases questions