No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
Theese are error i am getting .. please help.. thanks in advance [code] F:\JAVA\Java Files\lab 9\MyCustomer.java:12: cannot find symbol symbol : method addaccount(Account) location: class Customer cust1.addaccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:13: cannot find symbol symbol : class Savingsaccount location: class MyCustomer cust1.addAccount(new Savingsaccount(5000.0,0.05)); //saving accountNo= 2 ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:14: … | |
I am getting this error message please help me solve it [code] F:\JAVA\Java Files\lab 9\MyCustomer.java:19: ';' expected account deposit(500.0); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: ';' expected cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: not a statement cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:26: ';' expected cust2 addAccount(account); ^ F:\JAVA\Java Files\lab 9\MyCustomer.java:27: ';' expected … | |
I getting the following errors.. please help .. below is error i get and below that is the file that the error is refferring to [code] E:\JAVA\Java Files\lab employee\FullTimeEmployee.java:22: cannot find symbol symbol : class DateComponent location: class FullTimeEmployee DateComponent dc = new DateComponent(date); ^ E:\JAVA\Java Files\lab employee\FullTimeEmployee.java:22: cannot find … | |
Here the error i get from the file below [code] F:\JAVA\Java Files\lab employee\FulltimeEmployee.java:1: cannot find symbol symbol : class Calender location: package java.util import java.util.Calender; ^ F:\JAVA\Java Files\lab employee\FulltimeEmployee.java:22: cannot find symbol symbol : class DateComponent location: class FulltimeEmployee DateComponent dc = new DateComponent(date); ^ F:\JAVA\Java Files\lab employee\FulltimeEmployee.java:22: cannot find … | |
Below is my error which i get while i compile AppleComputer class file ( shown down below). Any help solving this error would be appreciated . Thanks [code] F:\JAVA\Java Files\Lab 5\AppleComputer.java:39: non-static method getCpuSpeed() cannot be referenced from a static context System.out.println("The Computer's CPU Speed Is: " + Computer.getCpuSpeed()); ^ … | |
I am having trouble calculating the discount rate in java, I have the formula and equation but cannot figure out, what the problem. and my program would compile and work but would display the wrong amt of discount. here the a part of the program.. [code] public void setDiscountRate(double discountRateBeforeTaxes) … | |
[code] public class Customer { private String name; private String address; private double totalPurchase; private double invoiceAmount; public Customer(String name, String address) { this.name = name; this.address = address; totalPurchase = 0.0; invoiceAmount = 0.0; } public String getName() { return name; } public String getAddress() { return address; } … |
The End.