How do generics work in java?
Answer / Ravikant Kumar
Generics in Java allow the programmer to create classes, interfaces, and methods that can operate on objects of multiple types. The type parameters are specified within angle brackets (<>) before the class name or method definition. For example: public class MyGenericClass<T> { ... }
| Is This Answer Correct ? | 0 Yes | 0 No |
What is entry set in java?
what are the difference between Java and .Net?
How is java hashmap implemented?
Explain public static void main(string args[]).
Can inner class extend any class?
How does singleton class work?
What is a text string?
What is Mutex (Mutual Exclusion Object) ?
What do you mean by flow of struts?
Hi, well i am unable to understand that why it is mandatory to have same hashcode, if two objects are same? Thanks in advance.
How do you write methodology?
How to read and write image from a file ?