Search:

Type: Posts; User: LeslieInNorthPole

Search: Search took 0.40 seconds.

  1. Replies
    8
    Views
    1,495

    Re: how to loop a method?

    1) I changed it to a String, allowing for isSuspended method to be called after the numTickets update.
    2) good point, simple is better
    3) I eliminated the extra tests and changed the addTicket to...
  2. Replies
    8
    Views
    1,495

    Re: how to loop a method?

    thanks for the input. I did get it figured out. I didn't need a loop, I needed to find a way to call a method within the same class. Here is the reworked code.


    public class DrivingLicense {...
  3. Replies
    8
    Views
    1,495

    how to loop a method?

    My goal is to write a class called DrivingLicense that is suppose to return ()isSuspended with the tickets exceed 2.


    public class DrivingLicense {
    String name;
    int numTickets;
    public...
  4. Replies
    0
    Views
    785

    Greetings from AK

    I am a beginning Java program taking an online university course to get comfortable with programming again. I originally learned Basic 20 years ago and have since taught myself some html for website...
Results 1 to 4 of 4