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: killall[process_name] or kill[PID]
Explanation:
Killall is a tool for disabling running processes on the system. It will disable all programs that matches the name mentioned.
kill disables processes based on process id numbers. it does not disable the process directly. The process recieves a signal where the process will follow instructions which it has to follow if it receives the signal.
Cybersecurity breaches in the workplace generally happen because:
- People deliberately try to hack into the network people.
- People make unintentional mistakes.
- People do not know about cybersecurity protocols
<h3>What are the three main causes of security breaches?</h3>
The major reasons for data breaches are:
- Old, Unpatched Security Vulnerabilities.
- Human Error
- Malware, etc.
Therefore, Cybersecurity breaches in the workplace generally happen because:
- People deliberately try to hack into the network people.
- People make unintentional mistakes.
- People do not know about cybersecurity protocols
Learn more about Cybersecurity from
brainly.com/question/12010892
#SPJ1
Geofencing Marketing refers to the use of gps or rfid technology to create virtual boundaries that enable software to trigger a response when a mobile device enters or leaves a particular area.
<h3>What is Geofencing Marketing?</h3>
- Geofencing marketing is an illustration of a real-time location-based trade tactic that utilizes geolocation data to mark users within a specified geographic region and delivers a range based on where they are or in what areas they have previously visited.
- Geofencing marketing concerns setting up virtual borders around a point or area that tracks whenever someone with a portable device crosses them.
To learn more about Geofencing Marketing, refer:
brainly.com/question/9795929
#SPJ4
Answer:Go to photos and select albums, there you should see the plus sign on the top left and tap that and you should be able to create a video/photo album
Explanation:
You have to go to photos and select the blue plus sign