Skip to content

Commit d54d7c4

Browse files
authored
Clean up comments in EncapsulationExample.java
Removed emoji from benefits of encapsulation.
1 parent e141cdd commit d54d7c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Java_OOP/EncapsulationExample.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
* - Provide PUBLIC getter and setter methods for controlled access
1313
*
1414
* Benefits of Encapsulation:
15-
* Protects data from unintended modification
16-
* Allows validation and control over how data is changed
17-
* Increases code maintainability and flexibility
15+
* - Protects data from unintended modification
16+
* - Allows validation and control over how data is changed
17+
* - Increases code maintainability and flexibility
1818
*/
1919

2020
public class EncapsulationExample {

0 commit comments

Comments
 (0)