Find Jobs
Hire Freelancers

Practice Program Java

$10-30 USD

Completed
Posted over 5 years ago

$10-30 USD

Paid on delivery
Practice Program 1: Create a Project named WebSiteStats that will contain two classes: WebSiteStats and WebSiteClient. WebSiteStats class: Instance Variables: • An integer that keeps a count of number of visitors • A string that represents the type of website: government, commercial, university, military Methods: • Getters for both instance variables • setVisitors- sets the number of visitors, as long as the value is not less than zero • setType- sets the type, only if it is one of the four types: government, commercial, university, military. Otherwise, the type is set to “unknown”. • toString- set output of the stats in this format: type: commercial; visitors: 45009 WebSiteClient class: • Create an instance of WebSiteStats that receives 12804 as the number of visitors and “government” as the type. • Create an instance of WebSiteStats that receives 45009 as the number of visitors and “commercial” as the type. • Write the code to get the following output: The visitors of web site stats #1 is 12804 The type of web site stats #1 is government Web Site Stats #2 is type: commercial; visitors: 45009
Project ID: 18303523

About the project

5 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi. You have a simple project that I can do for you for a small budget and in less than an hour. Message me if you are interested so I can start with work.
$15 USD in 1 day
5.0 (40 reviews)
5.0
5.0
5 freelancers are bidding on average $38 USD for this job
User Avatar
Hi, I can help you out with the tasks. Let me know when you're available so we may discuss it in detail. Thanks, Adeel
$30 USD in 1 day
5.0 (45 reviews)
7.2
7.2
User Avatar
Hi, nice to meet you, i can deliver a solution for your java program, tell me if you need tell me details in private chat, if the project is easiest we can consider the price
$15 USD in 1 day
5.0 (48 reviews)
5.4
5.4
User Avatar
Hi there, I can help you out with the task. You need this in Java language? let me know when you're available so we may discuss it in detail. Thanks, Shoaib
$30 USD in 1 day
5.0 (24 reviews)
4.7
4.7
User Avatar
I have successfully delivered many projects in many different company and clients. I have a strong Programming and Management skills and always updates myself with Research and Development of new technologies to strengthen my knowledge and skills.
$100 USD in 7 days
5.0 (2 reviews)
1.0
1.0

About the client

Flag of UNITED STATES
Normal, United States
4.5
3
Payment method verified
Member since Apr 13, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.