Hirdetés
- Fontos kísérleti kiterjesztést hozott a Vulkan API frissítése
- Elvette a PCI Express 5.0-t az egyes alaplapjaitól a Gigabyte
- Ismét új formájú Pulsar egeret köszönthetünk az ultrakönnyű halmazban
- "Áramvonalasított" kompakt AIO-val bővítette portfólióját az MSI
- Kingston FURY Renegade G5: Adatok villámgyorsan
- OLED TV topic
- Új szintre emeli a csalók elleni védelmet a Battlefield 6
- NVIDIA GeForce RTX 5080 / 5090 (GB203 / 202)
- VR topik (Oculus Rift, stb.)
- Mini PC
- Milyen billentyűzetet vegyek?
- Épített vízhűtés (nem kompakt) topic
- NVIDIA GeForce RTX 5070 / 5070 Ti (GB205 / 203)
- Apple MacBook
- Androidos fejegységek
Hirdetés
Talpon vagyunk, köszönjük a sok biztatást! Ha segíteni szeretnél, boldogan ajánljuk Előfizetéseinket!
Ú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?:))
- DJI FPV Combo drón szett - új állapotban
- Eladó ddr5 ram
- Újszerű! Garanciális ! SteamDeck 512GB OLED /Dobozos!/Tartozékokkal/
- !! Újszerű Garanciális !! MSI RTX 4060 8GB /Dobozos!/Beszámítás! Posta lehetséges!
- Xiaomi Redmi Note 14 Pro+ 5G 12/512GB, Megkímélt, Kártyafüggetlen, Töltővel, 1 Év Garanciával!
- HIBÁTLAN iPhone 13 Pro 256GB Gold -1 ÉV GARANCIA - Kártyafüggetlen, MS3020, 91% Akkumulátor
- AKCIÓ! Intel Core i9 14900K 24 mag 32 szál processzor garanciával hibátlan működéssel
- iKing.hu - Samsung Galaxy Z Flip 7 Blue Shadow Újszerű, karcmentes állapotban 512 GB
- GYÖNYÖRŰ iPhone 13 mini 256GB Pink -1 ÉV GARANCIA - Kártyafüggetlen, MS3061, 96% Akkumulátor
- Apple iPhone 13 Kártyafüggetlen 1 év Garanciával
Állásajánlatok
Cég: FOTC
Város: Budapest