What is the main use of generics in java?
Answer / Neeta Shweta Kerketta
"Generics are used to provide type safety in Java and allow a class, interface or method to work with objects without explicitly stating their data types"
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the kinds of polymorphism?
What is the this keyword?
What is codebase?
What are the two environment variables that must be set in order to run any java programs?
What are parsers? Dom vs sax parser.
What is the main difference between java platform and other platforms?
What is difference between stringbuffer and string?
Can a constructor be protected?
What is n in java?
How do generics work in java?
Can constructor be synchronized?
What is a singleton class in Java? And How to implement a singleton class?