Home / MCQ Bank / Computer
Computer Java Autoboxing

What is used to inject mock fields into the tested object automatically?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • @InjectMocks

Related Computer Questions

What is the main difference between a lambda and a Proc in Ruby? For which of the following, the length of the string is not equal to the length of the longest palindromic subsequence? Which of the following is correct about new and malloc? i. new is an operator whereas malloc is a function ii. new calls constructor malloc does not iii. new returns required pointer whereas malloc returns void pointer and needs to be typecast What is the advantage of the hash table over a linked list? How many parameters does the throw expression can have?