<span>You can change the identation of text in Powerpoint by right clicking on the list item and selecting, "Format Text". On the paragraph tab, you can adjust the indentation before text as given in inches.</span>
Answer:
Explanation:
/*# represents ID selector
*/
#feature{
font-family: 'Arial';
font-size: 10px;
color: red;
background: white;
width: 80%;
filter: drop-shadow(30px 10px 4px #4444dd);
}
Answer:
The file system that we shall choose is NTFS file system.
Explanation:
NTFS file system is a file system developed by Microsoft that provides file system encryption. Encryption means to secure our data in such a way such that only authorized person's can have access to it. NTFS file system allows to encrypt data so that all our data is safe from various cyber related thefts thus making our system and data safe from vulnerability of theft.
Encryption does not prevent access to data but the data that is accessed by various agents remains meaningless to all the agents until the user of the data decrypts it.
Answer:
Firstly, create an AirConditioner class inside a file named as AirConditioner.java. This is important to make sure the class name match with the file name.
- public class AirConditioner {
- private boolean status = false;
- public void turn_on()
- {
- this.status = true;
- }
- public void turn_off()
- {
- this.status = false;
- }
- public boolean getStatus()
- {
- return this.status;
- }
- }
Next, create another file named as Main.java. This is where we are going to include a Main method to create an object of AirConditioner class and get the air conditioner status. The codes are as follows:
- public class Main {
- public static void main(String[] args) {
- AirConditioner my_ac= new AirConditioner();
- boolean status;
- my_ac.turn_on();
- status = my_ac.getStatus();
- System.out.println(status);
- }
- }
Explanation:
The codes presented above are written based on the question requirements.
<u>AirConditioner.java</u>
Line 1:
- Create an AirConditioner class
Line 3:
- A property status is defined. This is important to track the status of an AirConditioner object.
Line 5 -8 and Line 10 -13:
- Create two required methods turn_on() and turn_off(). Both of them accept no arguments and return no value.
- The only job done by this two methods is to change the status property to either true (on) or false (off).
Line 15 - 18:
- The getStatus() method is to return the current status of the AirConditioner object to the Main method in main.java.
<u>Main.java</u>
Line 5-6:
- Within the Main method, create an object of AirConditioner and assign it to a reference variable, my_ac
- Create the status variable as a boolean variable.
Line 8:
- Use reference variable my_ac to invoke turn_on() method to change the status of the AirConditioner object to true
- Use the same reference variable my_ac to invoke getStatus() method to get the current satus of the AirConditioner object and assign it to the status variable.
Line 11:
- Print the status of AirConditioner Object in terminal
I took this quiz and got A right.
Hop helps even though i'm kinda late.