src/main/java/com/mycompany/app/dsa/chapterOne/CreditCard.java
public static void printSummary(CreditCard card){
        System.out.println("Customer =" + card.customer);
        System.out.println("Bank =" + card.bank);
        System.out.println("Account =" + card.account);
        System.out.println("Balance =" + card.balance); //implicit cast
        System.out.println("Limit =" + card.limit); //implicit cast
    }
//Utility method to print card's information
Utility method to print card's information
Utility method to print card ' s information
public static void printSummary(CreditCard card){
        System.out.println("Customer =" + card.customer);
        System.out.println("Bank =" + card.bank);
        System.out.println("Account =" + card.account);
        System.out.println("Balance =" + card.balance); 
        System.out.println("Limit =" + card.limit); 
    }
public static void printSummary ( CreditCard card ) { System . out . println ( "Customer =" + card . customer ) ; System . out . println ( "Bank =" + card . bank ) ; System . out . println ( "Account =" + card . account ) ; System . out . println ( "Balance =" + card . balance ) ; System . out . println ( "Limit =" + card . limit ) ; }
Utility method to print card's information
Utility method to print card ' s information
//implicit cast //implicit cast