File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
Programmer Certification (SCJP/OCPJP)
Question on type eraser
Joined: Nov 10, 2006
Dec 18, 2006 17:07:00
<T> T genericMothod(T t); //source code [B]Object [/B]genericMothod([B]Object [/B]t); //after type eraser runs
If the type infomation is lost after type eraser runs, do it mean any generic type has been replaced by Object type as above?
Hard work rewards
I agree. Here's the link:
subject: Question on type eraser
WA #1.....word association
Nikos Blog Generic's Problem
How many objects eligible for GC?
THread Selection By JVM Problem
Varargs and arrays - Mughal's mock exam, question 60
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014