Answer:
#include <stdio.h>
int main(void) {
char letterToQuit = '?';
int numPresses = 0;
printf("Press the %c key %d times to quit ", letterToQuit, numPresses);
return 0;}
Explanation:
in print statement %c is replaced by value of variable 'letterToQuit'and %d is replaced by value of variable 'numPresses'
Social worker and legal aid worker
Answer:(1) To manage the computer's resources, which includes central processing unit, memory, disk drives, and printers, (2) To establish a user interface
(3)To execute and provide services for applications software.
The old mainframe computers have
(1) low memory sizes
(2) slower connectivity speed
(3) Larger sizer
(4) low sophistication.
Explanation: Operating system is a system software that manages the computer resources,helps to establish user interface and it helps to provide services for application softwares.
Operating system software includes WINDOWS X,WINDOWS 7,WINDOWS 8,LINUX,etc.
Mainframe computers are computers used by large multinational companies for processing bulk data. Old mainframe computers were produced by IBM(INTERNATIONAL BUSINESS MACHINE) in the year 1952 they are classed two scientific and commercial mainframe computers with different information although they had some incompatibilities. Old mainframe computers are large in size with low processing speed, sophistication and storage compared to present day system.
In your question whereas there is a class named window and it would be like this:
class window {
//code here
}
Next is there is a function called close and freeresource and it goes like this:
class window{
function close( ){
//code here
}
function freeresource( ){
// code here
}
public destruct (){
this.close();
this.freeresource();
}
}
The last code function destruct invokes the function close and freeresource. Hope this would help
Answer:
Explanation:
demo.java Shapes 2 Shapes Polymorphism Create a set of classes derived from an abstract class Shape, which provides a common interface, for managing various 2D geometric shapes. In our model, each Java object will represent a shape somewhere in a Cartesian coordinate system. However, note that unlike in Mathematics, the positive y-axis grows down from the origin. Shapes All shapes have the following properties: color, area, perimeter, location, and bounds. Shapes are mutable, for example any shape can be moved.