- Google Pixel topik
- Végre hivatalos, mikor lesz az S26 hivatalos
- Apple iPhone Air - almacsutka
- Elődje legnagyobb hibáját javítja az iPhone 17e
- iPhone topik
- Szívós, szép és kitartó az új OnePlus óra
- OnePlus 9 Pro - gyorsulási futam
- Beköszönt a hajlítható telefonok aranykora
- Nézegesd az S26 család renderképeit!
- Magisk
Ú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?:))
- PlayStation 5
- OTP Bank topic
- Projektor topic
- Samsung Galaxy Felhasználók OFF topicja
- NVIDIA GeForce RTX 4080 /4080S / 4090 (AD103 / 102)
- Elektromos cigaretta 🔞
- Jövedelem
- BestBuy ruhás topik
- Google Pixel topik
- Százmilliárd dolláros AI-fegyverkezésbe kezdett az Amazon és a Google
- További aktív témák...
- Kingston 16GB DDR5 5600MHz CL46 - Új, bontatlan, több darab - Eladó!
- Corsair VENGEANCE RGB 2x16GB DDR5 6400MHz CL32 - Új, bontatlan - Eladó!
- Corsair VENGEANCE RGB 2x16GB DDR5 6200MHz CL36 - Új, bontatlan - Eladó!
- Corsair VENGEANCE RGB 2x16GB DDR5 6000MHz CL36 - Új, bontatlan - Eladó!
- Chieftec proton 750w full moduláris
- iPhone SE 2020 64GB White-1 ÉV GARANCIA - Kártyafüggetlen, MS4481, 100% Akksi
- Azonnali készpénzes félkonfig / félgép felvásárlás személyesen / csomagküldéssel korrekt áron
- HIBÁTLAN iPhone 14 128GB Midnight -1 ÉV GARANCIA - Kártyafüggetlen, MS3240
- Akció! Apple iMac 19.2 i5-8500 Radeon Pro 560X 4GB 16GB 256GB SSD 21.5" 4K Retina
- Laptop felvásárlás , egy darab, több darab, új , használt ! Korrekt áron !
Állásajánlatok
Cég: Central PC számítógép és laptop szerviz - Pécs
Város: Pécs
Cég: Laptopműhely Bt.
Város: Budapest
(

