Hirdetés
- Milyen TV-t vegyek?
- NVIDIA GeForce RTX 5080 / 5090 (GB203 / 202)
- Kezdő fotósok digitális fényképei
- Milyen monitort vegyek?
- Intel Core i5 / i7 / i9 "Alder Lake-Raptor Lake/Refresh" (LGA1700)
- AMD Ryzen 9 / 7 / 5 9***(X) "Zen 5" (AM5)
- Azonnali VGA-s kérdések órája
- AMD Navi Radeon™ RX 9xxx sorozat
- Apple asztali gépek
- Bluetooth hangszórók
Ú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?:))
- sziku69: Fűzzük össze a szavakat :)
- Samsung Galaxy S23 és S23+ - ami belül van, az számít igazán
- Fel kell készülnünk a 2G kivezetésére
- iPhone topik
- Autóápolás, karbantartás, fényezés
- Milyen TV-t vegyek?
- NVIDIA GeForce RTX 5080 / 5090 (GB203 / 202)
- OFFTOPIK: Earfun-lányok Magyarországon
- A fociról könnyedén, egy baráti társaságban
- Apple iPhone 16 Pro - rutinvizsga
- További aktív témák...
- Garmin Heart Rate Monitor HRM-Tri eladó (2db is van)
- Targus Universal USB 3.0 DV1K-2K Compact docking station (DisplayLink)
- HP 14 Pavilion FHD IPS i5-1135G7 4.2Ghz 16GB RAM 512GB SSD Intel Iris XE Graphics Win11 Garancia
- Telenor 5G Indoor WiFi Router (FA7550) + töltő
- GYÖNYÖRŰ iPhone 11 64GB White-1 ÉV GARANCIA - Kártyafüggetlen, MS3123
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest