В чем проблема с этим кодом, почему я не могу ничего напечатать?
Код: Выделить всё
public class CarLoan {
int carLoan = 10000;
int loanLenght = 3; //This will represent a loan length of 3 years.
int interestRate = 5; //This will represent an interest rate of 5% on the loan
int downPayment = 2000; //This will represent the down payment provided by a user for this car purchase.
public CarLoan() {
if (loanLenght
Подробнее здесь: [url]https://stackoverflow.com/questions/77431462/methods-and-problems-with-output-why-cant-i-print-anything[/url]
Мобильная версия