Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
experiment with inserting different amounts of money before printing tickets do you notice anything strange about the
create a ticket machine object on the object bench and take a look at its methods you should see the following get
1 what value is returned if you get the machines balance after it has printed a ticket2 try to obtain a good
1 look at the book you are reading right now is it an object or a class if it is a class name some objects if it is an
1 to what class does the following constructor belong public studentstring name2 how many parameters does the following
1 can you guess what types some of the book classs fields might be from the parameters in its constructor can you
1 create two ticket machines with differently priced tickets do calls to their show price methods show the same output
implement a method empty that simulates the effect of removing all money from the machine this method should have a
write out a constructor for a class called module the constructor should take a single parameter of type string called
write out a constructor for a class called person the constructor should take two parameters the first is of type
challenge exercise create a new project heater-exercise within bluej edit the details in the project description-the
create a clock display object by selecting the following constructor new clock display call its get time method to find
1 using the clock-display project in blue j test the number display class by creating a few number display objects and
start bluej open the clock-display example and experiment with it to use it create a clock display object using the
1 at what times can a class diagram change how is it changed2 at what times can an object diagram change how is it
open the music-organizer-v1 project in bluej and create a music organizer object store the names of a few audio files
use the debugger to investigate the clock-display project set breakpoints in the clock display constructor and each of
set up a scenario for investigation create a mail server then create two mail clients for the users sophie and juan you
add the list matching method in code 44 to your version of the project use music-organizer-v3 if you do not already
challenge exercise write a method to play every track in the track list exactly once in random order one way to do this
implement the find product method this should look through the collection for a product whose id field matches the id
1 implement the delivery method using a similar approach to that used in number in stock it should find the product
modify the log analyzer class so that it has a constructor that can take the name of the log file to be analyzed have
explore the weblog-analyzer project by creating a log analyzer object and calling its analyze hourly data method follow
1 if you found methods for the two tasks above how did you find them is it easy or hard to find methods you are looking