Answer:
The answer is "Option B".
Explanation:
In the given java program the main class test is defined. Inside the class, class b instance is created. In the next line, two-class are defined that is class A and class B and class B inherit class A.
In both classes we define a constructor and a method setI(). This method calculates the value that is passed in function and This class uses Overriding concept. In the given question other options are wrong that can be described as:
- In option A, Class B inherits class A and when class b object is created it is automatically called.
- In option C and option D, The constructor of class A is called but it displays 60, because of the constructor A call a function, that is setI() and passes value 20 parameter and because of using method overriding it display 60.
Explanation:
Software is a set of programs, which is designed to perform a well-defined function. A program is a sequence of instructions written to solve a particular problem. There are two types of software − System Software. Application Software.
Answer:
Option B
wireless remote to trigger remote shutter function
Explanation:
To properly tackle this problem, we need to look for key terms in the description of the problem, to properly understand the best way it can be solved.
The problem description says that Matilda wants to minimize vibrations in her shots. To minimize vibrations, we will have to make sure that she is not holding the camera in her hand.
In addition to that, Matilda needs to be able to move around while taking remote shots. This means that she needs to be able to control the camera while it is standing stationary via a small, portable device.
The option that provides the best solution to this problem is option B - Matilda should use a wireless remote to trigger remote shutter function