Answer:
Hypertext Markup Language
Explanation:
Hypertext Markup Language
Answer:
<u>Window.java</u>
- public class Window {
- int width;
- int height;
-
- public Window(int width, int height){
- this.width = width;
- this.height = height;
- }
- public int getWidth(){
- return width;
- }
- public int getHeight(){
- return height;
- }
-
- public int getClientAreaHeight(){
- return getHeight();
- }
- }
<u>Main.java</u>
- public class Main {
- public static void main (String [] args) {
- Window win1 = new Window(12, 15);
- System.out.println(win1.getClientAreaHeight());
- }
- }
Explanation:
<u>Window.java</u>
There is a Window class with two int type attributes, width and height (Line 1 - 3).
The constructor of this class will take two inputs, width and height and set these input to its attributes (Line 5 - 8). There are two methods getWidth and getHeight which will return the value of attributes width and height, respectively (Line 10 - 16).
The required new method getClientAreaHeight is defined in line 18 -20. This method will call the getHeight method to return the height value of the window (Line 19).
<u>Main.java</u>
We test the Window class by creating one Window instance and call the getClientAreaHeight method and print the return output (Line 1 -6).
We shall see 15 is printed.
Answer: A. System window and C. System Information window
Explanation:
Hi, RAM stands for Random Access Memory. RAM stores information about running programs in your computer, as long the computer is on.
To know how much RAM is installed on a system you can use the system window tool.
In windows 10 Right click on "Start Menu" and click on "System" in pop-up menu to open "System" window.
System window will show basic information of the computer, including the amount of RAM installed.
Also you can Type "System Information" in the search box, and select "System Information" from search results.
"System Information" window shows a more detailed system summary, of hardware resources and devices. Incluiding RAM.
Feel free to ask for more if needed or if you did not understand something.
Answer:
It's due to damage of goods