Results 1 to 4 of 4
  1. #1
    Gunas is offline Member
    Join Date
    Jan 2010
    Posts
    4
    Rep Power
    0

    Default Demerits of Java Generics

    Dear friends,

    Pleas let me know what are all the merits and demerits of java generics.

    Thanks in advance.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,172
    Rep Power
    20

    Default

    Is Google broken?

  3. #3
    CodesAway's Avatar
    CodesAway is offline Senior Member
    Join Date
    Sep 2009
    Location
    Texas
    Posts
    238
    Rep Power
    6

    Default

    Short answer: generics add type safety and extensibility to a class - most commonly seen when used with collections.

    Long answer: read up on it - Java generics.
    CodesAway - codesaway.info
    writing tools that make writing code a little easier

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. java generics implementation
    By sardare in forum Advanced Java
    Replies: 1
    Last Post: 01-14-2010, 02:51 AM
  2. Generics in java
    By ajeeb in forum Advanced Java
    Replies: 5
    Last Post: 01-23-2009, 05:56 PM
  3. Question about java generics
    By Arrowx7 in forum New To Java
    Replies: 1
    Last Post: 08-14-2008, 03:37 AM
  4. Java confused over Generics?
    By Bibendum in forum New To Java
    Replies: 3
    Last Post: 12-26-2007, 07:23 AM
  5. Java Generics (an introduction)
    By Java Tutorial in forum Java Tutorial
    Replies: 0
    Last Post: 11-27-2007, 07:50 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •