0 votes
in Magneto by
edited by
Which of the following is incorrect regarding the dependency inversion principle?

select the correct option from below

a)Your high-level classes should use the interfaces of low-level classes instead of working with them directly.

b)None of the options

c)Using interfaces in your code reduces the risk of incompatibility bugs when Magento changes the underlying implementation of those interfaces.

d)Reduces code dependency using abstractions in your code.

1 Answer

0 votes
by
edited by

a)Your high-level classes should use the interfaces of low-level classes instead of working with them directly.

Related questions

0 votes
asked Nov 9, 2020 in Magneto by sharadyadav1986
0 votes
asked Sep 5, 2022 in AWS by sharadyadav1986
...