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
    Posts
    1
    Rep Power
    0

    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
    Location
    Dystopia
    Posts
    3,798
    Rep Power
    7

    Default

    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 online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,252
    Rep Power
    19

    Default

    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.

    db

Similar Threads

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