Ex1 Flashcards
1
Q
What is used to define generics in Java?
A
<>
2
Q
Which class is which class is used to establish a database connection in JDBC
A
DriverManager
3
Q
What is the benefit of using generics?
A
Type safety
4
Q
What is an inner class?
A
A class inside another class
5
Q
Root of the Java Collections Network Framework
A
Collection
6
Q
The method used to add an element to the list
A
Add