https://github.com/randika00/java-class
Java Generics is a set of related methods or a set of similar types.
https://github.com/randika00/java-class
hashmap-java hashset
Last synced: 9 months ago
JSON representation
Java Generics is a set of related methods or a set of similar types.
- Host: GitHub
- URL: https://github.com/randika00/java-class
- Owner: Randika00
- Created: 2024-01-03T18:56:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-05T08:45:43.000Z (almost 2 years ago)
- Last Synced: 2025-01-19T23:38:49.129Z (10 months ago)
- Topics: hashmap-java, hashset
- Language: Java
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java-Generics
Generic Method: Generic Java method takes a parameter and returns some value after performing a task. It is exactly like
a normal function, however, a generic method has type parameters that are cited by actual type. This allows the generic
method to be used in a more general way. The compiler takes care of the type of safety which enables programmers to
code easily since they do not have to perform long, individual type castings.