No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi everyone, I am new to Java. I am taking a Java programming course and I am having some difficulty. My professor said I should seperate my class that stores employee information and calculates pay from the class that contains my main method. How do I do that? I understand … |
|
I dug out one of my parent's old computers to fix up for my son but none of the passwords that the family or I could remember works and I can't get in because the administrator password is missing. I do not have a re-boot disk anymore. Is there another … |
|
Can some one help me with the sort fuction problem I am having? I do not know how to fix it. It compiles right but will not run. Here is what I have so far: [code] public int compareTo(Object p) { final Product o = (Product)p; // make it a … |
|
I can't figure out why I am recieving error messages from the compiler that tells me that I have an illegal start of the expression for the code that is in red. I have also put the product class that goes with the main class; I'm not sure if the … |
|
Could some one look at this program and let me know if the Scanner object and variables are defined and defined correctly? And make suggestions on how to fix it if it is wrong. I also want to know if my validations are correct for employee, hours, and rate are … |
|
In the code below I am getting a complier error that looks like this: ';' expected }while (employee_equals("")) ^ I am not sure why I am getting this error or how to fix it. [code] //get employee name { System.out.println( "Enter employee name: " ); employeeName = input.nextLine(); do { … |
|
I have worked on this class all last night and I am having trouble finding the problem. When I compile this file I am recieving errors and I do not understand what is the problem. Here is the program code: [code] public class Employee { private String employeeName; //name of … |