Answer:
Following is the program in the python language
st = 'sAN RaN' #String
print(st.lower()) #display into the lowercase
Output:
san ran
Explanation:
Following are the description of program
- Declared and initialized the string in the "st" variable .
- The lower function in python is used for converting the uppercase string into the lower case string .
- Finally in the print function we used lower function and display the string into the lower case
When entering a function or formula in a cell, which of the first character you must type =
Answer:
A)
This is an example of tight coupling since the class Working has to have an idea of how Person is implemented to complete its own implementation.
B)
Any change in the Person class would require a change in the working class too.
C)
CODE
class Person {
int personID, age;
String fName, middleName, lastName;
public int getAge() {
return age;
}
}
// end of Person class
class Working extends Person {
boolean isUnderEighteen() {
if (super.getAge() <18) {
System.out.println("The person is under age and cannot work");
return true;
}
else {
System.out.println("The person can legitimately work");
return false;
}
}
}
Explanation: