- Samsung Galaxy S26 Ultra - fontossági sorrend
- Apple Watch Sport - ez is csak egy okosóra
- Külföldi prepaid SIM-ek itthon
- Samsung Galaxy Watch7 - kötelező kör
- Itt a Galaxy S26 széria: az Ultra fejlődött, a másik kettő alig
- Honor 200 - kétszázért pont jó lenne
- Android alkalmazások - szoftver kibeszélő topik
- Megtartotta Európában a 7500 mAh-t az Oppo
- Redmi Note 15 Pro+ - több plusz, mint mínusz
- Netfone
Ú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?:))
- Piros Lenovo G50 laptop (15,6/i3-G4/8GB/500HDD/Magyar)
- Lenovo Thinkpad T460S laptop (14FHDTouch/i5-G6/8GB/256SSD/MagyarVilágítós
- Komplett Asztali Számítógép Konfiguráció, Lenovo Thinkcentre M720S SFF PC i3-8100
- Komplett Asztali Számítógép Konfiguráció, HP EliteDesk 820 G2 Tower PC i5-6500
- Komplett Asztali Számítógép Konfiguráció, Dell Optiplex 3050 SFF PC i5-7500
- 27% - Samsung ViewFinity S7 S27D700EAU IPS Monitor! 3840x2160 / 60Hz / 5ms
- Itachi! Felsőkategóriás Gamer PC! Csere-Beszámítás! R7 9800X3D/ 9070XT / 32GB DDR5 / 2TB Nvme SSD
- Dell Optiplex/Precision MT/SFF 3430, 3050, 3060, 3070, 5060, 5070, 7070, 7060/7.-8.-9.gen/SZÁMLA-GAR
- REFURBISHED és ÚJ - DELL Universal Dock UD22 (DisplayLink)
- eShark Karuta Gaming Egérpad - XL eladó 90cmx40cm
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest

(
