Spring Part 2 Flashcards

1
Q

Remove the _____ from the programming code

A

Dependency

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

Makes the applicationeasy to manage and test

A

Dependency

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

Makes our programming code loosely coupled

A

Dependency

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

It is an ordinary java object not bound by any special restriction other than those forced by the java language specification and not requiring any classpath

A

POJO

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

It is a special pojo which have some restrictions

A

Beans

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

It doesnt provide much control on members

A

Pojo

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

It provides complete control on members

A

Bean

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

It can implement serializable interface

A

Pojo

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

It should implement serializable interface

A

Bean

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

Fields can be accessed by their names

A

Pojo

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

Fields are accessed only by getters and setters

A

Bean

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

Fields can have any visibility

A

Pojo

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

Fields have only private visibility

A

Bean

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

There may/may not be a no arg constructor

A

Pojo

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

It must have a no arg constructor

A

Bean

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

It s used whenyou dont want to give restriction on your members and give user complete access of your entity

A

Pojo

17
Q

It is used when you want to provide used your entity but only some part of your entity

A

Bean

18
Q

Refers to the usage of an object by another object

A

Coupling

19
Q

When an object creates the object to be used, then it is a __________ situation

A

Tight coupling

20
Q

When an object gets the object to be used from the outside, then it is a ___________ situation

A

Loose coupling