Thanks
Type: Posts; User: Tshoganetso lecha
i am using netbeans 8.0 this what i get ,
run:
java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: Uncompilable source code - class CurrentBal is public, should be...
public class Account {
public void checkBal(string accNum) {
}
public void withdrawAmt(string accNum) {
}
public static void depositAmt(string accNum) {
}
}
public class SavingAcc extends...
Can you please be at least more specific because m kind of beginner in java?
class Accounts
{
int principal; // Data members of the class
int interest;
int time;
int amt;
public Accounts ()
{
principal = 50000;
interest = 5;