Skip to content

Commit 8c5aae6

Browse files
authored
Update README
GP-132 add GitHub animation (sample)
1 parent 3a50761 commit 8c5aae6

File tree

1 file changed

+6
-4
lines changed
  • 1-0-java-basics/1-3-0-hello-generics

1 file changed

+6
-4
lines changed

1-0-java-basics/1-3-0-hello-generics/README.MD

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,17 @@ You're supposed to be familiar **Java classes** and **casting**
1515
* change the **getter return type** to parametrized type ✅
1616
* refactor `BoxDemoApp` to specify generic type as `Integer` and receive **compile time error**
1717

18-
19-
---
18+
##
2019

2120
In many cases the logic we implement does not depend on the data type. In other words, **many algorithms are the same
2221
regardless if you apply them to Integer, String or any other types.** So in order to leverage the same logic for different
2322
types we need some form of type parametrization. Of course, we can use `Object` and store anything we want, but
2423
it is not safe. Using `Object` requires runtime casting which can cause runtime exceptions.
2524

26-
---
25+
##
2726

2827
#### 🆕 First time here? – [See Introduction](https://github.com/bobocode-projects/java-fundamentals-course/tree/main/0-0-intro#introduction)
29-
#### ➡️ Have any feedback? – [Please fill the form ](https://forms.gle/Q5aEmF8E86fbZ4rXA)
28+
#### ➡️ Have any feedback? – [Please fill the form ](https://forms.gle/Q5aEmF8E86fbZ4rXA)
29+
30+
##
31+
<div align="center"><img src="https://raw.githubusercontent.com/bobocode-projects/resources/master/animation/GitHub%20Star_3.gif" height=50/></div>

0 commit comments

Comments
 (0)