answersLogoWhite

0

AllQ&AStudy Guides
Best answer

Generic

This answer is:
Related answers

Generic

View page

Generic collections were introduced in Java 1.5 and since then have become preferable to non-generic collections. A non-generic collection defaults to being a collection of Objects, and in order to effectively use those Objects, you need to cast them as their correct data type during use. A generic collection knows what type of object it contains, and thus no casting is needed.

View page

It's just like 'Java Class, and 'Class Room'. In a 'Java Class', the faculty have to teach only java related topics. And the students in the class must belongs to 'Java' subject. Means it is specific for 'Java' only.i.e., A Platform is a specific one where all the functionality are predefined. Where as, a 'Class Room' is a Generic one where java/.net/php/flex, N-number of classes can be conducted. Like wise, an Environment is a generic one where the needs for platform is provided.

View page

Generics are a part of generic programming within Java. They are commonly used to hold objects of any type, within a Java Collection Framework (JCF), and are a reusable data collection tool.

View page

Only Objects can be used as generic arguments. Primitives Data Types (int, long, char ...) are not objects. But you can use Integer, an Object that wrap the data type int instead.

View page
Featured study guide

Chemistry

21 cards

The formula for ammonium sulfate is

What is the name of this compound NH4CI

To instruct to entertain to persuade to vent to inform to encourage

Aluminum will combine with the sulfite ion to form

➡️
See all cards
No Reviews
More study guides
4.86
7 Reviews

5.0
1 Review
Search results