Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me with my Java project COP2253 Programming Project #4 See Dropbox for Due Date Project outcomes Develop a Java program that: .reads input

Please help me with my Java project image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
COP2253 Programming Project #4 See Dropbox for Due Date Project outcomes Develop a Java program that: .reads input from the keyboard using a Scanner object and its methods .uses selection (if and if else) statements uses String comparison methods. .follows standard acceptable programming practices. .validates user input to limit security risk of harmful input. Prep Readings: Absolute Java Chapter 1 4 and Security Injection Labs (Integer Error and Input Validation) Project Requirements: This program defines a class for BlogEntry, which can be used to store an entry for a web log. The class tracks the poster's username, text of the entry, and date posted using the Date class defined in this chapter Display 4.13(Date,java from the book examples). 2. To test the BlogEntry class the project will define another class called BlogEntry Tester that will create BlogEntry objects using data read from a file. BlogEntry Class a. Stores Blog Entry information. b. Instance Variables String username name of the blogger ii Date dateOfBlog -date of the blog iii String blog -the text of the blog iii. All instance variables are private. Constructors No ment or default constructor (see Pet class Display 4.15, Pet() as an example) ii. Parameterized constructor. see Pet class Display 4.15, Pet (String initialName, int initial Age, double initialWeight) as an example) .Parameters include user's name, date of blog and blog text. 2 Uses the parameters to set the appropriate instance variables

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

Medical Image Databases

Authors: Stephen T.C. Wong

1st Edition

1461375398, 978-1461375395

More Books

Students also viewed these Databases questions