The type of activities that are ideal for a robot to perform are; Repetitive tasks
Robots are machines that are programmable by a computer which have the capacity of automatically carrying out a complex series of actions.
Now, robots are used in a wide array of industries which include manufacturing, assembly and packaging, transport, earth and space exploration, e.t.c.
The most common use are found primarily in the automobile industry where they are used to carry out repetitive tasks and those that are difficult or hazardous for humans.
Read more about robots at; brainly.com/question/9145476
The process where the programmer steps through each of the program's statements one by one is called .
Answer:
(3) option is the correct answer.
Explanation:
Constructors need to initialize the object in the memory. "To declare the Constructor for any class the user needs to specify the constructor name which is already the class name". This is an object-oriented language guideline.
It is because the object is created by the name of the class and Constructor is used to allocate the memory for the object. hence Constructor is created by the name of the class.
For example--
class test //class name test
{
test() //created a constructor with class name "test"
{
}
}
In the above example class name and constructor name are same if it not then it will gives a error.
Another option is not valid for the answer to the above problem because-
- Option 1 is wrong because, for any class, the data member is a type of variable, which is used to store the data and is accessed with the help of an object.
- Option 2 is wrong because, for any class, member function is a type of user function used to accessed the variable and expressions.
- Option 4 is wrong because, package is a set used to hold classes and interfaces.
Answer:
Hello attached is the Java program written to solve the problem
The Pet.java and Dog.java files are unaltered
Explanation:
The input and output codes are attached as well i.e the second image is the input while the third image is the output code