Results 1 to 1 of 1
Like Tree1Likes
  • 1 Post By Robben

Thread: Method

  1. #1
    Robben is offline Member
    Join Date
    Feb 2015
    Rep Power

    Default Method

    Suppose I have a subclass called, Cashier, and a super class is named, Clerk. How do I make a method that is called on a Cashier object and takes in an instance of Cashier? What method has a structure like this? This method is going to place a competition between the subclass Cashier and the superclass Clerk and returns Cashier member that won the competition.
    Last edited by Robben; 03-01-2015 at 09:26 AM.
    Zhadista04 likes this.

Similar Threads

  1. Replies: 1
    Last Post: 12-12-2013, 08:08 PM
  2. Replies: 7
    Last Post: 04-11-2013, 06:31 AM
  3. Replies: 2
    Last Post: 03-23-2012, 05:53 AM
  4. Replies: 1
    Last Post: 10-17-2011, 02:00 AM
  5. ArrayLists compareTo method, equals method
    By random0munky in forum New To Java
    Replies: 2
    Last Post: 10-26-2009, 08:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts