The Artima Developer Community
Sponsored Link

Java Buzz Forum
How and when to use Generics

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
justin cater

Posts: 19616
Nickname: justin78
Registered: Mar, 2011

Justin Cater is executive editor at Java Code Geeks
How and when to use Generics Posted: Nov 6, 2014 2:01 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by justin cater.
Original Post: How and when to use Generics
Feed Title: Java Code Geeks
Feed URL: http://feeds.feedburner.com/JavaCodeGeeks
Feed Description: Java 2 Java Developers Resource Center
Latest Java Buzz Posts
Latest Java Buzz Posts by justin cater
Latest Posts From Java Code Geeks

Advertisement

After kick-starting the Advanced Java course by discussing how to How to create and destroy objects, how to use methods common to all objects, and how to design Classes and Interfaces we are now going a step further.

In this lesson we will discuss Generics. The idea of generics represents the abstraction over types (well-known to C++ developers as templates). It is a very powerful concept that allows to develop abstract algorithms and data structures and to provide concrete types to operate on later. Generics revolutionized the way Java programs are being written, delivering much stronger type guaranties and making code significantly safer.

In this section we are going to cover the usage of generics everywhere, starting from interfaces, classes and methods. Providing a lot of benefits, generics however do introduce some limitations and side-effects which we also are going to cover.

Get started here

Read: How and when to use Generics

Topic: Hibernate collections optimistic locking Previous Topic   Next Topic Topic: 9 cutting-edge programming languages worth learning now

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use