Results 1 to 3 of 3
Thread: Help! Java Problem!!
- 08-04-2011, 04:27 AM #1
Member
- Join Date
- Aug 2011
- Posts
- 1
- Rep Power
- 0
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!!
- 08-04-2011, 04:30 AM #2
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.
- 08-04-2011, 10:06 AM #3
Similar Threads
-
Problem with Java Web Applications and Java in Control Panel
By Abysinian in forum Advanced JavaReplies: 4Last Post: 03-16-2012, 12:29 PM -
Problem Display Jmenubar Java Se6 u23 versus Java SE6 u22
By Ravanelly in forum Advanced JavaReplies: 0Last Post: 01-07-2011, 10:36 AM -
problem with java --> sql
By bikkerss in forum New To JavaReplies: 8Last Post: 04-14-2010, 02:03 PM -
Problem with Java...
By mc6415 in forum New To JavaReplies: 10Last Post: 02-22-2010, 01:24 AM -
Help, java problem
By Suriman in forum New To JavaReplies: 4Last Post: 03-09-2009, 05:26 PM
Bookmarks