Find Jobs
Hire Freelancers

Storing Collections of Objects in Java

$30-5000 USD

ที่ทำเสร็จแล้ว
โพสต์ เกือบ 20 ปีที่ผ่านมา

$30-5000 USD

ชำระเงินเมื่อส่งงาน
Write a total of three classes. • CompactDisk • MusicShop • MusicShopClient Class #1: CompactDisk • Instance variables o Class CompactDisk should have two instance variables: name and price of the CD. • Constructor o This constructor should accept two arguments name and price, and initialize the CompactDisk object. • Getter Methods o Define a getter method for each instance variable. • toString method o This method should return a string that represents the information of the object. Class #2: MusicShop • Instance variables Class MusicShop maintains an array of CompactDisk objects and an instance variable size that indicates the current number of compact disks (CDs) held in the shop. • Constructor Write a constructor for class MusicShop. The constructor has one argument, which is the maximum number of CDs that the shop can hold in storage. The constructor initializes the array of CompactDisk objects to hold that number. • Method for reading information about CDs Write a method for reading information about CDs. The method should keep reading information for each of the CDs until the end of input and store that information in the array of CompactDisk objects. • Method for displaying information of CDs Write a method for displaying information about all CDs in the shop. Need to use the toString method you have already created for class CompactDisk in this method. • Method for finding the number of CDs satisfying given conditions Write a method that finds the number of CDs whose prices are less than or equal to a given price passed as the argument, and then returns that value. Class #3: MusicShopClient Class MusicShopClient creates a MusicShop object, reads the information about CDs held in the shop, displays each CD’s information and prints the number of CDs whose prices are less than or equal to a given price. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables): a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Must run in Windows XP. Must run/compile in Blue J environment Cannot have errors.
รหัสโปรเจกต์: 3156990

เกี่ยวกับโปรเจกต์

19 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 20 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
หมอบหมายให้:
รูปอวาตาร์ของผู้ใช้
See private message.
$2 USD ใน 2 วัน
5.0 (5 รีวิว)
3.0
3.0
19 freelancers are bidding on average $20 USD for this job
รูปอวาตาร์ของผู้ใช้
See private message.
$8.50 USD ใน 2 วัน
5.0 (321 รีวิว)
6.0
6.0
รูปอวาตาร์ของผู้ใช้
See private message.
$13.60 USD ใน 2 วัน
5.0 (220 รีวิว)
5.1
5.1
รูปอวาตาร์ของผู้ใช้
See private message.
$11.05 USD ใน 2 วัน
4.9 (104 รีวิว)
4.9
4.9
รูปอวาตาร์ของผู้ใช้
See private message.
$11.90 USD ใน 2 วัน
5.0 (126 รีวิว)
4.7
4.7
รูปอวาตาร์ของผู้ใช้
See private message.
$8.50 USD ใน 2 วัน
4.9 (47 รีวิว)
4.6
4.6
รูปอวาตาร์ของผู้ใช้
See private message.
$17 USD ใน 2 วัน
5.0 (41 รีวิว)
4.5
4.5
รูปอวาตาร์ของผู้ใช้
See private message.
$12.75 USD ใน 2 วัน
5.0 (31 รีวิว)
3.7
3.7
รูปอวาตาร์ของผู้ใช้
See private message.
$12.75 USD ใน 2 วัน
5.0 (39 รีวิว)
3.5
3.5
รูปอวาตาร์ของผู้ใช้
See private message.
$17 USD ใน 2 วัน
5.0 (14 รีวิว)
3.0
3.0
รูปอวาตาร์ของผู้ใช้
See private message.
$29.75 USD ใน 2 วัน
5.0 (5 รีวิว)
2.3
2.3
รูปอวาตาร์ของผู้ใช้
See private message.
$12.75 USD ใน 2 วัน
4.9 (9 รีวิว)
2.2
2.2
รูปอวาตาร์ของผู้ใช้
See private message.
$17 USD ใน 2 วัน
5.0 (1 รีวิว)
1.9
1.9
รูปอวาตาร์ของผู้ใช้
See private message.
$7.65 USD ใน 2 วัน
4.0 (3 รีวิว)
1.4
1.4
รูปอวาตาร์ของผู้ใช้
See private message.
$12.75 USD ใน 2 วัน
4.5 (1 รีวิว)
1.0
1.0
รูปอวาตาร์ของผู้ใช้
See private message.
$17 USD ใน 2 วัน
5.0 (1 รีวิว)
0.0
0.0
รูปอวาตาร์ของผู้ใช้
See private message.
$25.50 USD ใน 2 วัน
0.0 (0 รีวิว)
0.0
0.0
รูปอวาตาร์ของผู้ใช้
See private message.
$102 USD ใน 2 วัน
0.0 (0 รีวิว)
0.0
0.0
รูปอวาตาร์ของผู้ใช้
See private message.
$42.50 USD ใน 2 วัน
0.0 (0 รีวิว)
0.0
0.0

เกี่ยวกับลูกค้า

ปักธงของ UNITED STATES
United States
3.8
12
เป็นสมาชิกตั้งแต่ เม.ย. 17, 2002

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง