Language Basics

Version 2 by barracuda34
on Jun 10, 2008 17:04.

compared with
Current by barracuda34
on Jun 12, 2008 00:07.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View page history

* [Cast.java|http://java.sun.com/new2java/supplements/2002/Cast.java] uses the {{instanceOf}} method to determine the type of objects in a list and shows how to cast the objects to their correct type before accessing the data. For supporting information see [New to Java Programming Supplement, March 2002|http://java.sun.com/new2java/supplements/2002/mar02.html].

----

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact