- Luck Dragon: Asszociációs játék. :)
- D1Rect: Nagy "hülyétkapokazapróktól" topik
- sziku69: Fűzzük össze a szavakat :)
- Tomasz72: Ventilátor upgrade
- sziku69: Szólánc.
- Brogyi: CTEK akkumulátor töltő és másolatai
- MasterDeeJay: H110-es lapban 10.gen Comet Lake működhet?
- eBay-es kütyük kis pénzért
- Parci: Milyen mosógépet vegyek?
- Mr. Y: Motoros sztorik #06
Ú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
Hirdetés
A topicot kiemeltem. Valaki nem akar egy nyitó hsz-t írni?:))
- DELL PowerEdge R730xd 12LFF rack szerver - 2xE5-2680v3,64GB RAM,4x1GbE,H330 RAID v ZFS
- BESZÁMÍTÁS! Asus ROG Flow Z13 + ROG XG RTX 3070 - i9 12900H 16GB DDR5 RAM 1TB SSD + RTX 3070 8GB WIN
- Lenovo ThinkCentre M720q/ Dell OptiPlex 3060- 3070/ Hp EliteDesk 800 mini, micro PC-Számla/garancia
- Telefon felvásárlás!! iPhone 12 Mini/iPhone 12/iPhone 12 Pro/iPhone 12 Pro Max
- Csere-Beszámítás! AMD Számítógép PC Játékra! R5 5500 / RX 5700XT / 32GB DDR4 / 256SSD+1TB HDD
Állásajánlatok
Cég: Promenade Publishing House Kft.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest