adspace


What is a generic data type?

Answer Posted / Shivanath Gupta

A generic data type in Java is a parameterized data type that provides a way to create classes and interfaces that are reusable with different types of objects. The most common use is with the ArrayList class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between heap and stack memory in java?

1148


Write a program to find the whether a number is an Armstrong number or not?

1104


What is a constructor overloading in java?

1129


Realized?

2268


Explain public static void main(string args[]) in java.

1081


explain different ways of using thread? : Java thread

1087


What do you mean by an interface in java?

1105


Write a program to print count of empty strings in java 8?

1089


How to create a base64 decoder in java8?

1143


What is a classloader in java?

1092


What is the difference between break and continue statements?

1131


What is java string pool?

1087


Is minecraft 1.15 out?

1047


How to sort array in descending order in java?

999


What is an object in java and how is it created?

1144