r/JavaProgramming • u/BigCommunication5136 • Dec 22 '25
Day 7 of learning Java
I relearned the Abstraction and Encapsulation OOP concepts on Day 6 and refactored the Mortgage Calculator project.
Open to suggestions on how to improve the project, OOP-wise
18
Upvotes




1
u/souroexe Dec 22 '25
I have few questions :-
Why have u used byte data type for years ?
Why have u done Console.readNumber() ?
Why have u taken final keyword for the instance variables ?