Who can help to solve these problems??


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Who can help to solve these problems??

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    1

    Who can help to solve these problems??

    1. Design and implement a class called GradesTotal with the following features:
    a. Three instance variables: name, numberOfMajors and totalScore.
    b. Two constructors:
    - Student(String name)
    - Student(String name, int numberOfMajors, double totalScore)
    c. The following methods:
    - addMajors (double score) to add a major scores.
    - getTotalScore() to get the total score of the student.
    - getAverageScore() to get the average of the student.

    2. Design and implement a class named Appointment that contains instance variables startTime, endTime, dayOfWeek (valid values are Sunday through Saturday), and a date which consists of a month, day and year. All times should be in military time, therefore it is appropriate to use integers to represent the time. Create the appropriate accessor and mutator methods.

    3. Write a Java class that represents a Student with instance variables name, id, and gpa. Include constructors, accessor, mutator and any facilitator methods you may need. Write a driver program to test your created Student class.

    4. Write a complete Java program that prompts the user for a phrase. The program converts and displays the phrase in uppercase letters.

  2. #2
    Join Date
    Apr 2006
    Posts
    20
    where have you got so far? I'm not going to do yourt work for you, and I doubt anyone here will. Show us what you have so far, and we'll point you in the right direction.

Similar Threads

  1. Replies: 1
    Last Post: 07-29-2009, 08:41 AM
  2. Problems with MSSQLServer and Java
    By jlopes151 in forum Database
    Replies: 1
    Last Post: 11-21-2005, 05:32 AM
  3. Performance problems moving to MDAC2.5
    By Peter Richards in forum VB Classic
    Replies: 10
    Last Post: 10-01-2003, 01:00 AM
  4. Linux Installation problems
    By Mohammad Saleem in forum Open Source
    Replies: 2
    Last Post: 06-27-2002, 01:21 PM
  5. Replies: 1
    Last Post: 05-14-2001, 01:24 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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center