Posts by LucasDelboni • 21 points
2 posts
-
1
votes3
answers2851
viewsA: Java repeated letter counter
This is happening because every time you find a letter, you’re counting how many times it appears and prints. In his example, he finds the "a" 3 times, and in the 3 times, he counts how many has and…
-
1
votes2
answers1800
viewsA: What is the relationship between encapsulation and polymorphism?
Encapsulating is separating the program into parts, leaving it as separate as possible. This is in order to protect the manipulated data within the class. Polymorphism is a specialization. Choosing…