Ex1 Flashcards

1
Q

What is used to define generics in Java?

A

<>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which class is which class is used to establish a database connection in JDBC

A

DriverManager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the benefit of using generics?

A

Type safety

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an inner class?

A

A class inside another class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Root of the Java Collections Network Framework

A

Collection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The method used to add an element to the list

A

Add

How well did you know this?
1
Not at all
2
3
4
5
Perfectly