Hirdetés
- Xiaomi 15T - reakció nélkül nincs egyensúly
- Apple Watch
- Yettel topik
- EarFun Air Pro 4+ – érdemi plusz
- Milyen okostelefont vegyek?
- Motorola Edge 70 - többért kevesebbet
- Beárazták a Nubia Z80 Ultra európai verzióját
- Mobil flották
- Honor Magic7 Pro - kifinomult, költséges képalkotás
- Okosóra és okoskiegészítő topik
Új hozzászólás Aktív témák
-
Azazello-
senior tag
sziasztok!
nem vagyok benne biztos, hogy jo helyen jarok, bluej projecthez kellene egy kis segitseg, de nem igazan tudom, hogy kihez forduljak, melyik volna a megfelelo topic.
teljesen basic feladat:
Tasks
You have been provided with a BlueJ project file and accompanying class templates for a simple system to hold and manipulate information regarding a Compact Disc.The following Class diagram describes the relationship between the supplied class templates.
Assignment Tasks
1. Think about the data requirements for a Concert class. Add the relevant fields to the Concert class.
2. Create two constructors for each class - one to take arguments for all fields - one that takes none.
3. Add accessor and mutator methods as required to all three classes.4. Add a print method to each class.
• These methods should print to the terminal window.
• For the CD class, add a print method that will print details of the CD, Artist and the artist’s next concert.
• For any field not yet set, output an appropriate message (e.g. ‘Details not yet received’).5. Apply the following validation rules to class fields:
• CD
• private String genre – restricted to ‘Soul’, ‘Jazz’, or ‘Blues’
• private int numberOfTracks – must be greater than zero.
• private int yearReleased – must be a value greater than 1900 but less than 2004• Artist
• private int age – must be greater than zero and less than 120• Concert
• Devise and implement validation rules based on your choice of fields for this class-----------------------
ebben kene nekem segitseg, mert sajna azt sem tudom, hogy hol kezdjem el
(elore is koszi.
Új hozzászólás Aktív témák
A topicot kiemeltem. Valaki nem akar egy nyitó hsz-t írni?:))
- A Sony megmutatja milyen monitor illik a PlayStation 5-höz
- BestBuy topik
- Konzolokról KULTURÁLT módon
- Házimozi belépő szinten
- Xiaomi 15T - reakció nélkül nincs egyensúly
- CURVE - "All your cards in one." Minden bankkártyád egyben.
- Linux kezdőknek
- Apple Watch
- Azonnali informatikai kérdések órája
- ThinkPad (NEM IdeaPad)
- További aktív témák...
- iPad Pro 11" (2022) 128 GB + Apple Pencil!
- Galaxy S23+ 8/512 GB eladó
- Üzletből, garanciával, MSI Creator Z16 A12UET-039IT intel Core i7-12700H/16GB RAM/1TB SSD/RTX3060
- Denon AVR X2100W Magnat Vector 77 5.1 hangfalakkal
- Üzletből, garanciával, Új Lenovo ThinkPad X1 Carbon Gen 12 Ultra 7 155u/32GBRAM/1TB SSD/OLED kijelző
- Telefon felváráslás!! Xiaomi Redmi Note 11, Xiaomi Redmi Note 11 Pro, Xiaomi 11 Lite
- HP 13 Elitebook 830 G7 FHD IPS 600nit i5-10210U 16GB 256GB SSD Intel UHD Win11 Pro 4G LTE Garancia
- Bomba ár! HP Probook 450 G10 - i3-1315U I 16GB I 256SSD I 15,6" FHD I W11 I Cam I Garancia!
- HIBÁTLAN iPhone 12 mini 64GB Purple -1 ÉV GARANCIA - Kártyafüggetlen, MS3481, 100% Akksi
- Bomba ár! Dell Latitude 5410 - i5-10GEN I 8GB I 256SSD I HDMI I 14" FHD I Cam I W11 I Garancia!
Állásajánlatok
Cég: NetGo.hu Kft.
Város: Gödöllő
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
(

