Please tell me where I'm going wrong

I am in a beginning Java programming class. For my assignment, I was to modify an ATM program to debit an amount. That I've done successfully.
The program I am having is if the amount is greater than the balance, how can I get a statement to say the balance is over?
I'm not looking for anyone to do this for me. I want to learn Java myself, but I'm finding an error I don't understand how to fix.
This is my class.
public class Account
     private double balance;
     public Account( double initialBalance )
     if ( initialBalance > 0.0 )
     balance = initialBalance;
     public void debit( double amount )
     balance = balance - amount;
     public double getBalance()
     return balance;
     if ( balance < 0 ) // I put this in, this isn't the original code, but it seemed like a good idea
     System.out.printf( "Withdrawal amount exceeded account balance." );
}This is my test class.
import java.util.Scanner;
public class AccountTest
     public static void main( String args[] )
     Account account1 = new Account( 50.00 );
     Account account2 = new Account( -7.53 );
     System.out.printf( "account1 balance: $%.2f\n",
     account1.getBalance() );
     System.out.printf( "account2 balance: $%.2f\n\n",
     account2.getBalance() );
     Scanner input = new Scanner( System.in );
     double withdrawalAmount;
     System.out.print( "Enter withdrawal amount for account1: ");
     withdrawalAmount = input.nextDouble();
     System.out.printf( "\nsubtracting %.2f to account1 balance\n\n",
     withdrawalAmount );
     account1.debit( withdrawalAmount );
     if ( withdrawalAmount > balance )
     System.out.printf( "Withdrawal amount exceeded account balance." );
     System.out.printf( "account1 balance: $%.2f\n",
     account1.getBalance() );
     System.out.printf( "account2 balance: $%.2f\n",
     account2.getBalance() );
     System.out.print( "Enter withdrawal amount for account2: ");
     withdrawalAmount = input.nextDouble();
     System.out.printf( "\nsubtracting %.2f to account2 balance\n\n",
     withdrawalAmount );
     account2.debit( withdrawalAmount );
     System.out.printf( "account1 balance: $%.2f\n",
     account1.getBalance() );
     System.out.printf( "account2 balance: $%.2f\n",
     account2.getBalance() );
     The errors that I'm getting are mostly that the symbol can't be found. The problem I'm having is with this.
if ( withdrawalAmount > account1Balance )
System.out.printf( "Withdrawal amount exceeded account balance." );
How do I define the account balance?
I appreciate any help. Thanks.

I'm a bit closer. yeah.
if ( account1.getBalance() < 0 )
     System.out.printf( "Withdrawal amount exceeded account balance." );I put this gem in my program, I'm getting the warning, but I have to configure it not to subtract past zero.
import java.util.Scanner;
public class AccountTest
     public static void main( String args[] )
     Account account1 = new Account( 50.00 );
     Account account2 = new Account( -7.53 );
     System.out.printf( "account1 balance: $%.2f\n",
     account1.getBalance() );
     System.out.printf( "account2 balance: $%.2f\n\n",
     account2.getBalance() );
     Scanner input = new Scanner( System.in );
     double withdrawalAmount;
     System.out.print( "Enter withdrawal amount for account1: ");
     withdrawalAmount = input.nextDouble();
     System.out.printf( "\nsubtracting %.2f to account1 balance\n\n",
     withdrawalAmount );
     account1.debit( withdrawalAmount );
     if ( account1.getBalance() < 0 )
     System.out.printf( "Withdrawal amount exceeded account balance." );
     System.out.printf( "account1 balance: $%.2f\n",
     account1.getBalance() );
     System.out.printf( "account2 balance: $%.2f\n",
     account2.getBalance() );
     System.out.print( "Enter withdrawal amount for account2: ");
     withdrawalAmount = input.nextDouble();
     System.out.printf( "\nsubtracting %.2f to account2 balance\n\n",
     withdrawalAmount );
     account2.debit( withdrawalAmount );
     System.out.printf( "account1 balance: $%.2f\n",
     account1.getBalance() );
     System.out.printf( "account2 balance: $%.2f\n",
     account2.getBalance() );
     

Similar Messages

  • Making a simple calc applet.  Where am I going wrong?

    Hi everyone. I'm taking a introductory java class over the summer and so far I've been doing pretty good in it. I've been able to knock out and figure out how to do most of the assignments on my own. But this latest problem is driving me up a wall. I think I might be making it more difficult then it is. I'm supposed to a take a simple calculation program, and then convert it into an applet with new button functionality and text fields. In the applet, there will be two text fields(input and result) and two buttons(Update and Reset). In the first field you put in an operator and a number. Then from there you hit the Update button and the new value is put in the second field.
    For example. The program is defaulted to "0". So you put "+ 9" in the first field, then Hit Update. "9" will now appear in the second field. Go back to the first field and put in "- 3", hit update again and now the second field will go to "6." You can keep doing this all you want. Then when you want to start all over again you hit reset. Its sort of a weird program.
    Here's the original calc program:
    import java.util.Scanner;
    Simple line-oriented calculator program. The class
    can also be used to create other calculator programs.
    public class Calculator
        private double result;
        private double precision = 0.0001; // Numbers this close to zero are
                                           // treated as if equal to zero.
        public static void main(String[] args)
            Calculator clerk = new Calculator( );
            try
                System.out.println("Calculator is on.");
                System.out.print("Format of each line: ");
                System.out.println("operator space number");
                System.out.println("For example: + 3");
                System.out.println("To end, enter the letter e.");
                clerk.doCalculation();
            catch(UnknownOpException e)
                clerk.handleUnknownOpException(e);
            catch(DivideByZeroException e)
                clerk.handleDivideByZeroException(e);
            System.out.println("The final result is " +
                                      clerk.getResult( ));
            System.out.println("Calculator program ending.");
        public Calculator( )
            result = 0;
        public void reset( )
            result = 0;
        public void setResult(double newResult)
            result = newResult;
        public double getResult( )
            return result;
         The heart of a calculator. This does not give
         instructions. Input errors throw exceptions.
        public void doCalculation( ) throws DivideByZeroException,
                                            UnknownOpException
            Scanner keyboard = new Scanner(System.in);
            boolean done = false;
            result = 0;
            System.out.println("result = " + result);
            while (!done)
               char nextOp = (keyboard.next( )).charAt(0);
                if ((nextOp == 'e') || (nextOp == 'E'))
                    done = true;
                else
                    double nextNumber = keyboard.nextDouble( );
                    result = evaluate(nextOp, result, nextNumber);
                    System.out.println("result " + nextOp + " " +
                                       nextNumber + " = " + result);
                    System.out.println("updated result = " + result);
         Returns n1 op n2, provided op is one of '+', '-', '*',or '/'.
         Any other value of op throws UnknownOpException.
        public double evaluate(char op, double n1, double n2)
                      throws DivideByZeroException, UnknownOpException
            double answer;
            switch (op)
                case '+':
                    answer = n1 + n2;
                    break;
                case '-':
                    answer = n1 - n2;
                    break;
                case '*':
                    answer = n1 * n2;
                    break;
                case '/':
                    if ((-precision < n2) && (n2 < precision))
                        throw new DivideByZeroException( );
                    answer = n1 / n2;
                    break;
                default:
                    throw new UnknownOpException(op);
            return answer;
        public void handleDivideByZeroException(DivideByZeroException e)
            System.out.println("Dividing by zero.");
            System.out.println("Program aborted");
            System.exit(0);
        public void handleUnknownOpException(UnknownOpException e)
            System.out.println(e.getMessage( ));
            System.out.println("Try again from the beginning:");
            try
                System.out.print("Format of each line: ");
                System.out.println("operator number");
                System.out.println("For example: + 3");
                System.out.println("To end, enter the letter e.");
                doCalculation( );
            catch(UnknownOpException e2)
                System.out.println(e2.getMessage( ));
                System.out.println("Try again at some other time.");
                System.out.println("Program ending.");
                System.exit(0);
            catch(DivideByZeroException e3)
                handleDivideByZeroException(e3);
    }Here's me trying to make it into an applet with the added button functionality.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.math.*;
    import java.util.*;
    import java.io.*;
    import java.lang.*;
    public class Calculator extends JApplet implements ActionListener
              // Variables declaration. 
               private javax.swing.JPanel jPanel2;
             private javax.swing.JLabel jLabel2;
             private javax.swing.JTextField jTextField1;
             private javax.swing.JLabel jLabel3;
             private javax.swing.JTextField jTextField2;
             private javax.swing.JButton jButton1;
             private javax.swing.JButton jButton2;
             private javax.swing.JTextArea resultArea;
             private Container container;
             // End of variables declaration
         public void init () {
            initComponents();    
            setSize(400, 200);       
        private void initComponents() {
            container = getContentPane();
            container.setLayout( new BorderLayout() );
                // Creating instances of each item 
                jPanel2 = new javax.swing.JPanel();
            jLabel2 = new javax.swing.JLabel();
            jTextField1 = new javax.swing.JTextField();
            jLabel3 = new javax.swing.JLabel();
            jTextField2 = new javax.swing.JTextField();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
            resultArea = new javax.swing.JTextArea();
                // End Creation
            // Set text on labels, preferred size can be optional on labels,
                // size should/must be used on text fields.
              // Then each individual item is added to a panel.
            jLabel2.setText("Input =");
            jPanel2.add(jLabel2);
            jTextField1.setText("");
            jTextField1.setPreferredSize(new java.awt.Dimension(65, 20));
            jPanel2.add(jTextField1);
            container.add( jPanel2, BorderLayout.SOUTH);
            jButton1.setText("Update");
                jButton1.addActionListener(this);
                jButton2.setText("Reset");
                jButton2.addActionListener(this);
                container.add(resultArea, BorderLayout.CENTER);
            container.add(jButton1, BorderLayout.WEST);
            container.add(jButton2, BorderLayout.EAST);
                     resultArea.setText("Calculator is on.\n" +
                             "Format of each line: " +
                                             "\noperator space number" +
                             "\nFor example: + 3" +
                                             "\nThen hit Update to compute"+
                             "\nHit Reset to set the result back to zero.");
       private double result;
       private double precision = 0.0001;
       public void actionPerformed(ActionEvent e)
                Calculator clerk = new Calculator( );
            try
                clerk.doCalculation();
                catch(UnknownOpException e2)
                clerk.handleUnknownOpException(e2);
            catch(DivideByZeroException e2)
                clerk.handleDivideByZeroException(e2);
            resultArea.setText("The final result is " + clerk.getResult( )+
                                        "\nCalculator program ending.");
         public Calculator( )
            result = 0;
        public void reset( )
            result = 0;
        public void setResult(double newResult)
            result = newResult;
        public double getResult( )
            return result;
         The heart of a calculator. This does not give
         instructions. Input errors throw exceptions.
        public void doCalculation( ) throws DivideByZeroException,
                                            UnknownOpException
            Scanner keyboard = new Scanner(System.in);
            boolean done = false;
            result = 0;
            resultArea.setText("result = " + result);
            while (!done)
               char nextOp = (keyboard.next( )).charAt(0);
                if ((nextOp == 'e') || (nextOp == 'E'))
                    done = true;
                else
                    double nextNumber = keyboard.nextDouble( );
                    result = evaluate(nextOp, result, nextNumber);
                    resultArea.setText("result " + nextOp + " " + nextNumber + " = " + result+
                                                    "\nupdated result = " + result);
         Returns n1 op n2, provided op is one of '+', '-', '*',or '/'.
         Any other value of op throws UnknownOpException.
        public double evaluate(char op, double n1, double n2)
                      throws DivideByZeroException, UnknownOpException
            double answer;
            switch (op)
                case '+':
                    answer = n1 + n2;
                    break;
                case '-':
                    answer = n1 - n2;
                    break;
                case '*':
                    answer = n1 * n2;
                    break;
                case '/':
                    if ((-precision < n2) && (n2 < precision))
                        throw new DivideByZeroException( );
                    answer = n1 / n2;
                    break;
                default:
                    throw new UnknownOpException(op);
            return answer;
        public void handleDivideByZeroException(DivideByZeroException e)
            resultArea.setText("Dividing by zero."+
                               "\nProgram aborted");
            System.exit(0);
        public void handleUnknownOpException(UnknownOpException e)
            resultArea.setText(e.getMessage( )+
                              "\nTry again from the beginning:");
            try
                resultArea.setText("Calculator is on.\n" +
                             "Format of each line: " +
                                             "\noperator space number" +
                             "\nFor example: + 3" +
                             "\nHit Reset to set the result back to zero.");
                        doCalculation( );
            catch(UnknownOpException e2)
                System.out.println(e2.getMessage( ));
                System.out.println("Try again at some other time.");
                System.out.println("Program ending.");
                System.exit(0);
            catch(DivideByZeroException e3)
                handleDivideByZeroException(e3);
    }I'm not getting any compiling errors or anything and it launches, but it doesn't work at all. I'm sure it has something to do with the calc program and the applet actionevent. I just don't know where to go from there. Can anyone tell me where I'm going wrong? Or even make sense of what I've posted. I know its a lot. I've been looking at this thing for a day now and its killing me. Any help would be greatly appreciated. Thanks.

    This is a mistake
    public void actionPerformed(ActionEvent e)
                Calculator clerk = new Calculator( );
            try
                clerk.doCalculation();You don't want to create a whole new applet every time anyone pushes a button.
    Make whatever changes are neccessary so that you don't have to create a new applet in your actionPerformed

  • TS1367 My Blueyonder email is coming in but won't send, where am I going wrong with the settings?

    My Blueyonder email is coming in but won't send, where am I going wrong with the settings?

    We don't know. You didn't tell us what those settings are. However, if you contact your email provider, Blueyonder, they should be able to help you. Check their website where they may even have information on how to configure Mail for their site.

  • I have an iPhone 4 and an iPod 4th gen linked to the same email address and apple ID. I am trying to set up a new email address for the iPod so a family member can use it but it doesn't want to recognize the new email account. Where am I going wrong?

    I have an iPhone 4 and a 4th gen iPod linked to the same email address and apple ID. I am trying to change the email address on the iPod so a family member can use it but when I do it says it doesn't recognize the email address. Where am I going wrong ? I just want them to be able to iMessage and email without having to use my email address.

    The procedure is Settings>Messages>Send & Receive at>You can be reached by iMessages at>Add another email address. The email address has to be a valid working email address, obviously. Apple should verify the email address and you have to go to the inbox of that email account, read the verification email from Apple and follow the inductions in the email in order to complete the verification. Then you go back to the settings, uncheck your email address and check the new email address to be used as the contact email address.

  • I am contemplating replacing my old Ipod with a 8gb touch which supposedly holds up to 1760 songs. In my ITunes library the average size of a 12 song album is 300mb which means I can get 27 albums x 12 songs is 324 songs. Where am I going wrong here?

    I am contemplating replacing my old Ipod with a 8gb touch which supposedly holds up to 1760 songs. In my ITunes library the average size of a 12 song album is 300mb which means I can get 27 albums x 12 songs is 324 songs. Where am I going wrong here?

    There is about 6.9  GBs of free space on an 8 GB Touch for data storage. That translates to roughly 23 of your average albums.
    Holds up to 1760 songs is based on the size of an average track which is about 3 to 4 MBs, whereas your albums have tracks averaging more like 25 MBs per track. I sort of doubt your average album holds what would be about 5 hours.

  • Every page in website is different even though they are the same size!  4 Views 0 Replies Latest reply: Sep 25, 2011 4:23 PM by kellynewmac     kellynewmac Level 1 (0 points) Sep 25, 2011 4:23 PM Can someone please tell me what I have done wrong ?

    Can someone please tell me what I have done wrong>?  Obviously I am new to iweb, and need help.  I recently built a website in iweb with only 5 pages, and I made the height, width, & all of the specs regarding the page size exactly the same, but they all load as different sizes on the website.  Also the text i typed loads right away, and the images take forever to load with each page when i look at it on a pc, and not mac.  Can someone please help me!!

    Obviously I am new to iweb, and need help.
    And one of your Services is Webdesign?
    Small consolation : iWeb is a very advanced piece of software. So advanced that even highly skilled professionals have difficulty understanding and using it.
    Anyway, your pages are NOT the same size by design. Which can clearly be seen. But also by checking the source of the pages.
    The Home page is 665px wide and the Contact page is 820px wide. That doesn't happen by magic. It's user induced.
    So do what I do : pay attention to every tiny detail. Especially when it's your business. No excuse.
    Here are some sample Sites :
         http://www.wyodor.net/mfi/
    You can download Domain files for your pleasure to study and use here :
         http://www.wyodor.net/mfi/Maaskant/How_To.html
         http://www.wyodor.net/mfi/size/768-946.html

  • Hi, could someone please tell me where I could get a new front glass for my IPod touch.  It was dropped and the whole glass cracked. I live in Gauteng.

    Hi, could someone please tell me where I could get a new front glass for my IPod touch.  It was dropped and the whole glass cracked. I live in Gauteng. 

    Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
    Apple - iPod Repair price
    A third-party place like maybe less. Google for one near you.
    Replace the screen yourself
    iPod Touch Repair – iFixit
    It has sources for the parts. You can just Google for screens too.

  • I am using Firefox v6.0.2 and there is no "Add a Device" area!!! Can someone PLEASE tell me where to go to find this???

    Again, I am trying to sync all my desktop data over to my laptop. However, using Firefox v6.0.2 on both, I cannot find the "Add a Device" anywhere in the sync process windows. Can someone please tell me where I can find it???

    Do you already have created a Sync account?
    You need to create a sync account one one computer (click Create ...) and click the Connect button on the other computer.
    *Firefox/Tools > Set Up Sync
    * https://support.mozilla.com/kb/How+to+sync+Firefox+settings+between+computers
    * https://support.mozilla.com/kb/where-can-i-find-my-firefox-sync-key
    * https://support.mozilla.com/kb/find-code-to-add-device-to-firefox-sync

  • Good afternoon! We purchased the product Adobe master collection 5.5 AOO Litsense RU. Distribyutiv program has been lost, and now we can not find it on the site. There we find different versions of the program other than Russian. Please tell me where to d

    Good afternoon! We purchased the product Adobe master collection 5.5 AOO Litsense RU. Distribyutiv program has been lost, and now we can not find it on the site. There we find different versions of the program other than Russian. Please tell me where to download it?

    Voronello volume license installation files are available under the end user or deploy to account at https://licensing.adobe.com/.

  • Unable to Locate Bridge CS6 for Download.  All I See Is the CC Version, which  Never Works Well With My School Assignments.  Please Tell Me Where I Go to Find this Cuz the PullDown Arrow Is No Longer Available.  BTW - I Didn't See It Listed Under Previous

    All I See Is the CC Version, which  Never Works Well With My School Assignments.  Please Tell Me Where I Go to Find this Cuz the PullDown Arrow Is No Longer Available.  BTW - I Didn't See It Listed Under Previous Versions Either.
    thanks!

    Lyleb64687719 have you utilized the steps listed in CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html to verify the Creative Suite 6 version was not available?  What type of a Creative Cloud membership do you have?
    You can also download the Creative Suite 6 installation files from Download CS6 products.  Installing any of the applications or suites which include Bridge CS6 should allow Bridge CS6 to install.

  • Hi, I have rented a movie from I tunes stores and downloaded it on my phone only. However when download completed , movie disappeared. Can anyone please tell me , where can I fine  my movie??

    Hi, I have rented a movie from I tunes stores and downloaded it on my phone only. However when download completed , movie disappeared. Can anyone please tell me , where can I fine  my movie??

    Did you tap the Videos app icon?  
    Swipe left of your Home screen then type in the name of the movie.

  • Can't see where I am going wrong!

    Can anyone see where I am going wrong.....I can't see the problem:
    import java.io.*;
    public class EmployeeRecord {
        private String employeeName;
        private int employeeIDNumber;
        private String jobCat;
        private double hourlyPayRate;
        private double annualSalary;
       /* public constructor.
       public Student(String employeeName, int employeeIDNumber, String jobCat, double hourlyPayRate)
             this.employeeName = employeeName;
             this.employeeIDNumber = employeeIDNumber;
             this.jobCat = jobCat;
             this.hourlyPayRate = hourlyPayRate;
       } // end method
           * return  employee name
          public String getEmployeeName() {
             return employeeName;
          } // end method
           * return employee ID number
          public int getEmployeeIDNumber() {
             return employeeIDNumber;
       } // end method
           * return job Cat
          public String getJobCat() {
             return jobCat;
          } // end method
           * return hourly pay rate
          public double getHourlyPayRate() {
             return hourlyPayRate;
       } // end method
           * return annual salary
          public double getAnnualSalary() {
             return annualSalary;
       } // end method
              public void calculateAnnualSalary(){
                      int tempCount = numberOfScores;
                      int tempScore = totalScore;
                      if (employeeArray[2] == "Full") {
                         annualSalary = 40 * employeeArray[3];
                      else {
                         annualSalary = 20 * employeeArray[3];
                      } // end else
                   } // end method
       public static void main(String[] args) {
          Employee[] employeeArray = { new Employee("JohnSmith", 654789345, "Full", 25.60);
                                        new Employee("BobJones", 456983209, "Full", 28.20);
                                        new Employee("LarryAnders", 989876123, "Full", 35.30);
                                        new Employee("TomEstes", 237847360, "Full", 41.35);
                                           new Employee("MariaCosta", 115387243, "Part", 15.40);
                                           new Employee("JoeShowen", 223456732, "Full", 45.75);
                                           new Employee("JillRoberts", 574839280, "Part", 38.45);
                                           new Employee("MaryAble", 427836410, "Part", 25.90);
                                           new Employee("NancyAtkins", 349856232, "Full", 35.60);
                                           new Employee("MarkSeimens", 328978455, "Full", 48.50);
       } // end method
    } // end classDesign the Java class to represent an employee record. Pseudo code for this object is given below:
    Employee class definition
    Instance Variables
    Employee name
    Employee ID number
    Job category
    Hourly pay rate
    Annual salary
    Instance Methods
    getName
    getEmployeeId
    calculateAnnualSalary
    getAnnualSalary
    Use the String class for the employee name.
    Use an array of objects for the employee records.
    Calculate each employee's annual salary from the job category and hourly rate, using the following constant information:
    Job category: Full - 40 hours a week
    Part - 20 hours a week
    Assume 52 weeks in a year.
    Display each employee's name, id and annual salary.
    Calculate and display the company's total amount for employees salaries.
    Use the following information to populate the employee objects: Employee
    Name Employee Id Job Category Hourly Pay Rate
    John Smith 654789345 Full 25.60
    Bob Jones 456983209 Full 28.20
    Larry Anders 989876123 Full 35.30
    Tom Estes 237847360 Full 41.35
    Maria Costa 115387243 Part 15.40
    Joe Showen 223456732 Full 45.75
    Jill Roberts 574839280 Part 38.45
    Mary Able 427836410 Part 25.90
    Nancy Atkins 349856232 Full 35.60
    Mark Seimens 328978455 Full 48.50

    I think this is what people mean, but It still wont work. Can someone else figure it out?
    import java.io.*;
    public class EmployeeRecord {
    private String employeeName;
    private int employeeIDNumber;
    private String jobCat;
    private double hourlyPayRate;
    private double annualSalary;
    /* public constructor.
    public void EmployeeRecord (String employeeName, int employeeIDNumber, String jobCat, double hourlyPayRate)
    this.employeeName = employeeName;
    this.employeeIDNumber = employeeIDNumber;
    this.jobCat = jobCat;
    this.hourlyPayRate = hourlyPayRate;
    } // end method
    * return employee name
    public String getEmployeeName() {
    return employeeName;
    } // end method
    * return employee ID number
    public int getEmployeeIDNumber() {
    return employeeIDNumber;
    } // end method
    * return job Cat
    public String getJobCat() {
    return jobCat;
    } // end method
    * return hourly pay rate
    public double getHourlyPayRate() {
    return hourlyPayRate;
    } // end method
    * return annual salary
    public double getAnnualSalary() {
    return annualSalary;
    } // end method
         public void calculateAnnualSalary(){
              int tempCount = numberOfScores;
              int tempScore = totalScore;
              if (employeeArray[2] == "Full") {
              annualSalary = 40 * employeeArray[3];
              else {
              annualSalary = 20 * employeeArray[3];
              } // end else
              } // end method
    public static void main(String[] args) {
    EmployeeRecord[] employeeArray = { new EmployeeRecord("JohnSmith", 654789345, "Full", 25.60),
         new EmployeeRecord("BobJones", 456983209, "Full", 28.20),
         new EmployeeRecord("LarryAnders", 989876123, "Full", 35.30),
         new EmployeeRecord("TomEstes", 237847360, "Full", 41.35),
         new EmployeeRecord("MariaCosta", 115387243, "Part", 15.40),
         new EmployeeRecord("JoeShowen", 223456732, "Full", 45.75),
         new EmployeeRecord("JillRoberts", 574839280, "Part", 38.45),
         new EEmployeeRecord("MaryAble", 427836410, "Part", 25.90),
         new EmployeeRecord("NancyAtkins", 349856232, "Full", 35.60),
         new EmployeeRecord("MarkSeimens", 328978455, "Full", 48.50),
    } // end method
    } // end class

  • I bought this very nice iMac. The first time I ever use a Apple product. Can someone please tell me where the delete key is on the keyboard. I cannot think for one moment that Apple did not provide for such a key. Please help.

    I bought this very nice iMac. The first time I ever use a Apple product. Can someone please tell me where the delete key is on the keyboard. I cannot think for one moment that Apple did not provide for such a key. Please help.

    The delete key does a backward delete because it is the natural way to delete while typing. May not be to you and the millions of youngsters who grew up with windows computers. When you are typing and want to delete that which you just typed you are already at the end and you delete back to where you want to re-type. When you go back to a document and want to delete a selection, you have to go to the end of the selection instead of the beginning. it's just the way its always been done on macs. it takes some getting use to.
    If you select text to be deleted with your mouse then the delete key deletes the selected text. same for either delete key method.
    It is not convenient when you tab to fields in a form. That why fn-delete does a forward delete.
    Macs have a couple of keyboards. The small "wireless keyboard" only has the (backward) delete (fn-delete forward). The larger "Apple Keyboard with Numeric Keypad" has both a Delete (backwards) key beside the = abd it has the "delete >" key in the groups with fn, home, end, Pg up and Pg dn. This keyboard is best for users who have switched from windows or are familiar with the windows forward delete.

  • TS4036 my iphone says i have backed up to icloud but it hasn't, where am i going wrong

    my iphone says i have backed up to icloud but it hasn't, where am i going wrong?

    Troubleshooting Creating Backups

  • Could you please tell me where can I ask for  the S-User ID and password

    Dear SAP Experts,
    I passed the SAP exam (ABAP with SAP NetWeaver7.0) on August 20,2009
    and receieved the Certificate document from SAP.
    Unfortunately,I didnot do any project on sap.
    Until Last Week,I have the chance to do it.
    so I have to visite SAP sites ,
    but It must use the S-User ID and password.
    Could you please tell me where can I ask for it.
    Best regards,
    LiYing.

    hi,
      after compelting the certiification sap will provide the suser is and password along with sap certificate, generally it will take 4 -5 weeks to get the certificate if u still not received contact sap education locally
    regards,
    ram

Maybe you are looking for