answersLogoWhite

0

Generics allows a type for compile-time type safety means it helps detect errors at compile time and makes your code safe. Generics in Collections are the type of elements which it going to hold. It can be any Wrapper class or any user defined class.

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

What does generic class mean in java?

Generic


What is the difference between environment and platform?

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.


Extension file for Java?

Java source files have the .java extension, compiled Java class files have the .class extension.


The actions in a java class are called?

The actions in a java class are called methods.


Why you start java program by class?

without class non of the folder can run so the java program should start in class we can use the class without object in java


When java uses compiler?

What i know is java we will use compiler when it want to get class file(file with .class extension) from java file(file with .java extension).


How do you call main class with in main class in java?

We can't call a class. We always call a method in java.


What class begins java class hierarchy?

Class


What is the way to get rid of Java lang no class deffound error?

To get rid of the Java lang no class deffound error, one must add the class or .jar file which contains this class into the Java classpath. When a Java class is run from the command line, one must add a dot (.)


The top most class in java?

All classes in java must inherit from the Object class


Is there class name as object in java?

Yes, the base class for all other Java classes is Object.


What ananomus classes in java?

An Anonymous class in Java is one that does not have a name. It is usually created inside a class

Trending Questions
What is meant by ideal flow in transport phenomenon? What tool or electrical system means intentionally creating a low-resistance path that connects to the earth? What did Thomas Welsh Invent? A magnifying glass is an example of? What were robots made for in Karel capeks play? How many volts would I have with one amp and 6 ohms? Symbol that specify addition substraction multiplication? Examine the list and answer the following question Which items in the list are primary sources a historian could use to contextualize why a political revolution occurred in Egypt in 2011 A letter writ? Explain how to set up the drawing template parameters in CAD? Which best describe the technology that enables computers to communicate the transmission of text numeric voice or video data from one machine to another? Name the three most popular manufacturers of the system BIOS programs? What is the working principle of deep well jet water pump? What are the uses of differential equations in engineering? What is static Phase Converter? Does temperature affect the yield strength of low carbon steel? 15m long cantilever beam that is fixed in a wall and a person that weighs 70kg is standing at the free end of it what moment is that person's weight applying about the fixed support? What pressure is usually available to push liquid into the pump inlet? When did classrooms become integrated? How much should you charge for laying concrete in a 20ftx20ft basement room? Why do you have a roaring in your head that sounds like a giant air conditioner running?