Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Can someone solve this Java programming Project

  1. #1
    Junior Member
    Join Date
    Apr 2019
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Can someone solve this Java programming Project

    HI everyone this Text file is the Java Score file.If you can make the file from this text i would appreciate it.Also their is 2 -3 other files that listed below for download.I just wanted to let everyone know that i'm looking for someone wouldn't mind creating this complete project for me.I needed to see the complete example so i can understand.It is hard to understand things when you have ADHD disablity. I Just want somoene to create the project so i can learn from the project you created.I can print and type everything out so i i can figure it out on my own.A classmate of mine shared an example for another assignment and it helped me out.I'm asking just for one example of the whole project so i can learn from it.I ain't learning by looking at a a few files.All i ask is your time and that is all.Once i finish this project you don't have to help me anymore.This is my last week for class and i need it done before Sunday at midnight.If anyone needs my email i can message you it privately so you can email the files back to me.I appreciate.

    ps.If no one wants to help then i will look for a tutor.I don't mind paying if Plan a or b doesn't fall through.Plan C is a tutor which i don't mind.I don't get jealous from people.We should help eachother out cause we want to learn from the problem.

    // DO NOT CHANGE ANY CODE IN THIS FILE EXCEPT FOR THE PACKAGE NAME
    /*
    * Class Name: Score
    * Programmer: John Carter
    * Date: 4/15/17
    * Description: This class can store a persons name and their score. It can be
    * be used to keep track of a gamming score or credit score
    */
    // MODIFY THE PACKAGE NAME TO MATCH YOUR PROJECT NAME!!!!!
    package final_start_file;

    public class Score implements Comparable<Score>{

    //Global variables
    public String myName;
    public int myScore;

    //************************************************** ****
    // Constructors
    //************************************************** ****
    // If no values are passed, set both global vars to blank and 0
    public Score(){
    super();
    myName = "";
    myScore = 0;
    }

    // If only a name is passed, set the name and set the score to 0
    public Score(String n){
    super();
    myName = n;
    myScore = 0;
    }

    // If both values are passed, set both
    public Score(String n, int s){
    super();
    myName = n;
    myScore = s;
    }

    // If both values are passed, but the score is a string, covert the score
    public Score(String n, String s){
    super();
    myName = n;
    myScore = Integer.parseInt(s);
    }

    //************************************************** ****
    // SET METHODS
    //************************************************** ****
    // Set just the name
    public void setName(String n) {
    myName = n;
    }

    // Set just the score
    public void setScore(int s) {
    myScore = s;
    }

    // Set just the score once it has been converted to a number
    public void setScore(String s) {
    myScore = Integer.parseInt(s);
    }

    //************************************************** ****
    // GET METHODS
    //************************************************** ****
    // Set just the name
    public String getName() {
    return myName;
    }

    // Set just the score
    public int getScore() {
    return myScore;
    }

    //************************************************** ****
    // OUTPUT METHODS
    //************************************************** ****
    // This method will display a header for the information in this class
    public String header(){
    return " Name\tScore\n-------------------------------\n";
    }

    // This method build a string that will display the name and score
    // seperated by a comma. Can be used to store the data into a file format
    public String store(){
    return myName + "," + myScore;
    }

    // This method build a string that will display the name and score
    // seperated by a tab
    public String display(){
    return " " + myName + "\t" + myScore + "\n";
    }

    // Override the compareTo method to help the sort
    @Override
    public int compareTo(Score s){

    int compareScore = ((Score) s).getScore();

    // Descending order
    return compareScore - this.myScore;
    }
    } // End of class
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by TheNwoLegend; April 29th, 2019 at 02:07 PM.

  2. #2
    Junior Member
    Join Date
    Apr 2019
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Can someone solve this Java programming Project

    The Text you see is Score.java. 1 Other file is the instructions and the rubric with File to ArrayList work Flow.Pdf.If you can't understand me.We can add eachother from Facebook and talk about it on Video chat.It's your decision.It won't take but 1-2 hours for us to work this project out then a thank.I might even send you some cash through Paypal for your effort to make it run.That is if you do a good job.I'm willing to type it out so i can learn.

Similar Threads

  1. I need help with my JAVA programming project
    By momer1 in forum Java Theory & Questions
    Replies: 1
    Last Post: July 18th, 2013, 09:41 AM
  2. how do i solve this programming problem in dr java?
    By jennavg in forum What's Wrong With My Code?
    Replies: 4
    Last Post: April 8th, 2013, 12:22 PM
  3. Java Programming project
    By aw20 in forum What's Wrong With My Code?
    Replies: 63
    Last Post: March 11th, 2013, 12:21 PM
  4. [SOLVED] Easy error to solve in a minute. Help please, I don't want to fail Java Programming again.
    By ihatejava in forum What's Wrong With My Code?
    Replies: 6
    Last Post: November 15th, 2012, 04:30 PM
  5. java programming 2 project
    By kin93 in forum Java Theory & Questions
    Replies: 6
    Last Post: June 16th, 2012, 12:00 AM

Tags for this Thread