Mechanical mouse has a ball that turns rollers inside. If friction is lost between the ball and the mousing surface, or between the ball and the rollers, the mouse fails to work. In order to assure good contact with the mousing surface, the ball must be fairly heavy. When you change directions with the mouse, you must make the ball change rolling directions--an action that inertia likes to prevent.
An optical mouse makes use of an LED and some optics to detect surface texture and the changes in it as the mouse is moved. There are no moving parts
Answer:
Name.
Explanation:
The constructor in the class must have the same name as the class.Constructors are used to initialize the object when created.There are basically three types of constructors which are as following:-
- Default Constructor.
- Parameterized Constructor.
- Copy Constructor.
Default Constructor:-This constructor is already present in the class when the class is defined.It does not have any arguments.
Parameterized Constructor:-As the name suggests this constructor have parameters that are used to initialize the object.
Copy Constructor:-This constructor is called whenever an object is copying the values of other object.For example:-
There is already an object present with name obj1.
class obj2=obj1;
Answer:
A. It contains the string "f1"