<?xml version="1.0"?>
<metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:title>Generics in Java and parallels with templates in C++</dc:title><dc:creator>BOJCHEVSKI,	KONSTANTIN	(Avtor)
	</dc:creator><dc:creator>Fürst,	Luka	(Mentor)
	</dc:creator><dc:subject>Java</dc:subject><dc:subject>generics</dc:subject><dc:subject>templates</dc:subject><dc:description>Generics are a powerful tool in object-oriented programming languages, especially in the Java programming language. They play an important role
in software development, since they enable the programmer to write typeindependent code in a type-safe way. In a nutshell, a generic Java class (or
method) is a class (or method) parameterized with an arbitrary number of
types. When using a generic class or method, we specify concrete values
for the type parameters, effectively tailoring the code of the class or method
for concrete types. Another benefit of Java generics is that type safety is
enforced during compilation rather than execution. The C++ programming
language has a concept parallel to Java generics; these are templates. C++
templates and Java generics are similar to one another in terms of code syntax, the provided support for parameterizing types, and the most frequent
use cases. However, they are actually implemented in a significantly different way, and there are important differences in their use and background
semantics. In this thesis, we will show examples for both Java generics and
C++ templates. We will discuss their similarities and differences, as well as
advantages and disadvantages.</dc:description><dc:date>2023</dc:date><dc:date>2023-02-03 15:05:11</dc:date><dc:type>Diplomsko delo/naloga</dc:type><dc:identifier>144199</dc:identifier><dc:identifier>VisID: 35055</dc:identifier><dc:identifier>COBISS_ID: 143000579</dc:identifier><dc:language>sl</dc:language></metadata>
