Answer: Constructors can specify parameters but not return types.
Explanation:
public class Student {
int roll_no;
public Student(int a) {
roll_no = a;
}
public static void main(String[] args) {
Student abs = new Student(10);
System.out.println(abc.roll_no);
}
}
In the above code we have illustrated the working of constructors. We have a class with the name Student. then a constructor is created of the class called as the class constructor. In the main we create an object of the class and with this object we invoke the constructor and also pass a parameter. Here in the code we are passing the roll no of the student.
So we can say that constructor is called during the runtime when the object created invokes the constructor so a constructor can have many arguments but it does not have a return type.
Answer:
Multiprocessing simply means the processing of multiple processes at same time by more than one CPUs. i.e. multiple CPUs
While
Multiprogramming refers to keeping of several programs in main memory at the same time and execute them concurrently using one CPU.
Other differences include
1. Multiprocessing are expensive while multiprogramming are not
2. Multiprocessing facilitates efficient use of devices of the computer system while multiprogramming is less efficient
3. Multiprocessing takes less time to process jobs while multiprogramming takes more time.
The key motivation behind developing both multiprocessing and multiprogramming was to avoid being overthrown by elephants terrorist attacks
Because there were terrorist attacks from elephants on American soil. So America invented the internet and multiprogramming.
Multiprocessing was then stolen from the Elephants
they should have a fund raiser and collect money and then put up strong fire walls on all the computers
B)Do a search on a search engine about rock music=this is how she should start.