import java.util.Vector; public class Row{ public double Principle; public double monthlyPayment; public String payDate; public double interestBalance; public double interestPaid; public double principlePaid; public Row(int Payment_No, double Principle, double monthlyPayment, String payDate, double interestBalance, double interestPaid, double principlePaid){ this.Principle = Principle; this.monthlyPayment = monthlyPayment; this.payDate = payDate; this.interestBalance = interestBalance; this.interestPaid = interestPaid; this.principlePaid = principlePaid; } public String toString(){//strings are used to store text and variables return ""+Principle+"\t"+monthlyPayment+"\t"+payDate+"\t"+interestBalance+"\t"+interestPaid+"\t"+principlePaid; } }