Course Solutions Uncategorized (Solved) : Please Help Adt Java Program Credit Card Code Keep Getting Error Saying Credit Class Main Q30913701 . . . .

(Solved) : Please Help Adt Java Program Credit Card Code Keep Getting Error Saying Credit Class Main Q30913701 . . . .

 

Please help with my ADT Java Program. It is for a credit card.This is the code and I keep getting an error saying my Credit Classdoes not have a main method, where am i going wrong? This is myJava code

public class CreditCard {

//* Error starts here

public static void main(String[], args) {

CreditCard CC1 = new CreditCard(“IFlores”, 431633445,”3/SEP/2018″);

CC1.CreditCharge(100);

CC1.Cash_Adv(300);

CC1.Payment(50);

CC1.InterestAdded(20);
}
}

//* Error ends here

class CCard {

private String CustomerName;

private long AccountNumber;

private String DueDate;

public CCard(String CustomerName, long AccountNumber, StringDueDate) {

this.CustomerName = CustomerName;

this.AccountNumber = AccountNumber;

this.DueDate = DueDate;

System.out.println(“The Credit Card Details Are “);

System.out.println(“Acct Number” + AccountNumber);
System.out.println(“Customer Name” + CustomerName);
System.out.println(“Due Date” + DueDate);

}

public void CreditCharge(int charge) {
System.out.println(“Credit Card has a

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Dears Homework Need Requirments 1 Er Diagram 2 Schemas Normalization 3 Sql Statements Crea Q27590178 . . . .(Solved) : Dears Homework Need Requirments 1 Er Diagram 2 Schemas Normalization 3 Sql Statements Crea Q27590178 . . . .

<p>Dears,</p><p>I have this Homework we need these requirments:</p><p>1- ER Diagram.</p><p>2- All schemas before and after normalization.</p><p>3- All SQL statements of (creating tables, inserting data intables)</p><p><strong>4- SQL Queries:</strong></p><p>***1- List the matches