File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes can someone help??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

can someone help???

Stephen Norris
Ranch Hand

Joined: Oct 27, 2003
Posts: 44
This is my assignment:
***************************************************************************
This is the rest of the assignment, if anyone understands how to pull from the MBAstudent class and then transfer everything to the MBAstatus class, I would sure would love the help.
Then create a class called MBAstudent. This class has two variables: gpa and gmat, and inherits from Student. Create a default constructor and a non-default constructor. The class should have a method to check if the input for first name and last name is valid, for example, it should be a string with length greater than zero.
The method checkQualification returns true if gpa is greater or equal 3.0 and gmat is greater than or equal 550. If gpa or gmat is not provided, admitted will have a false value. Create all needed get and set methods for this class as well. The range: 0<=gpa<=4.0, 0<=gmat<=800.
Create an implementation class called MBAstatus. This could use Label, TextField, TextArea, or JOptionPane components that get the first name, last name, social security number, gpa, and gmat, and uses them to create a student object, and gets its admitted status and shows it back to the user. Include the following functions: 1. For getting the information from the user, to create the MBAstudent object, and to determine the admitted status and to put it back to the screen. 2. For clearing the TextFields and TextArea if used.
***************************************************************************
this is the code that I have so far:


When I try to compile the second part, I get a bunch of errors and I am still not done with it. I don't know what to do.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

Originally posted by Stephen Norris:

When I try to compile the second part, I get a bunch of errors and I am still not done with it. I don't know what to do.

A good start would be to share the errors you are getting. We Java folk are busy people.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
closing this thread.
Reply in the other thread:
http://www.coderanch.com/t/394843/java/java/possible-help-if-you-have
[ November 12, 2003: Message edited by: Thomas Paul ]

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can someone help???