main.java
Posted in 0 comments
package exsr;
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Sewranga
*/
public class main {
public static void main(String[] args) {
Exsr a1=new Exsr("12",2000.0);
Exsr a2=new Exsr("54",1000.0);
a1.deposit(500);
a2.withdraw(200);
System.out.println(a1.getAccountBal());
System.out.println(a2.getAccountBal());
try {
demo d=new demo();
d.logging("a");
} catch (Exception e) {
System.out.println(e);
}
}
}
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
*
* @author Sewranga
*/
public class main {
public static void main(String[] args) {
Exsr a1=new Exsr("12",2000.0);
Exsr a2=new Exsr("54",1000.0);
a1.deposit(500);
a2.withdraw(200);
System.out.println(a1.getAccountBal());
System.out.println(a2.getAccountBal());
try {
demo d=new demo();
d.logging("a");
} catch (Exception e) {
System.out.println(e);
}
}
}
0 comments:
Post a Comment