CSE MCQs :: JUnit MCQs
-
What is the output of following set of code ?int a,b;a = (b = 10) + 5;
-
What will be output of the following conversion ?static void Main(string[] args){char a = 'A';string b = "a";Console.WriteLine(Convert.ToInt32(a));Console.WriteLine(Convert.ToInt32(Convert.Tochar(b)));Console.ReadLine();}
- _________ is a class to represent a null and to stop the chain of lookups.
- ___________ is the class to resolve properties in a map.
- The __________ package contains plugins that make it easier to write custom actions by scripting their behaviour with BeanShell.
- ______________ method performs an action in response to an invocation.
- __________ is a naming scheme in which the implicit name for a mock object is the mocked type's name prepend with "mock.
- ____________ is a TestCase that verifies postconditions after the test has run and before the fixture has been torn down.
- _____________ returns the next of a sequence of elements each time it is invoked.
- _____________ performs multiple actions every time it is invoked.