Results 1 to 3 of 3
Like Tree2Likes
  • 2 Post By Junky

Thread: Help! Java Problem!!

  1. #1
    TheBreakdown is offline Member
    Join Date
    Aug 2011
    Rep Power

    Default Help! Java Problem!!

    I am trying to figure out the following problem and am having a difficult time getting the right script... I would greatly appreciate any help!

    Create a class called Faculty with fields for name (String), department (char), isTenured (boolean).

    This is a small university, so the only valid departments are History (‘H’), Music (‘M’), and Biology (‘B’). Be sure that your mutator methods allow only valid values to be assigned to the department field. For the mutator method assigning name and isTenured, you may assume that the user will always enter true or false. That is, you do not have to have code to check for other values. You do not need to submit your test class, but be sure to create one on your own to make sure it works—the grader certainly will!!

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Rep Power


    Please do not dump your homework assignment on us. Many here have finished school and we did all our assignments. We do not want to do yours too.

    Make an attempt at writing the code. When you get stuck post your code (use code tags), include error messages (full and exact) if you get them and ask a specific question.
    Fubarable and DarrylBurke like this.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power


    I'm sure DePaul would love to know about this homework dump.

    Thread closed. If you have a valid question and need genuine help (not cheating on an assignment) start a new thread.


Similar Threads

  1. Replies: 4
    Last Post: 03-16-2012, 12:29 PM
  2. Problem Display Jmenubar Java Se6 u23 versus Java SE6 u22
    By Ravanelly in forum Advanced Java
    Replies: 0
    Last Post: 01-07-2011, 10:36 AM
  3. problem with java --> sql
    By bikkerss in forum New To Java
    Replies: 8
    Last Post: 04-14-2010, 02:03 PM
  4. Problem with Java...
    By mc6415 in forum New To Java
    Replies: 10
    Last Post: 02-22-2010, 01:24 AM
  5. Help, java problem
    By Suriman in forum New To Java
    Replies: 4
    Last Post: 03-09-2009, 05:26 PM

Tags for this Thread

Posting Permissions

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