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
Answer:
A
Explanation:
HTML is a coding language.
Answer:
Option (D) using the private access specifier on the class fields
Explanation:
- The private access modifier can be used to hide the data.
- Methods and data variables ( fields ) can be declared with the private access modifier.
- Data hiding is a OOPS Concept which can be achieved with the private keyword (private access modifier).
- The access modifiers are of types Public, Private, Protected and Default ( no access modifier - no need to explicitly specify the default keyword).
- Data hiding means to hide the data, the data is contained in the class variables.So, option (d) using private access modifier on the class fields is correct option.
- Option (A) is wrong as the using the public access modifier doesn't hide anything. It is public and is visible to the public.
- Option (B) is wrong as using the private access modifier on the methods means it is hiding the implementation of the methods not the data.
- Option (C) is wrong as using private access modifiers on class definition means making the classes not visible to other classes it doesn't mean data hiding as the data is contained in the class variables.
Explanation:
hardware are the physical parts of the computer which can be touched seen and felt is called hardware.
the device which are use to inter data and instructions from the user is clawed input device. foreg; keyboard , mouse.
the processing device of computer is cpu
the printed information which can be touched and seen is Called hardcopy .
soft copy are which can be seen but not touched is called soft copy .
the device that are use to store data and instructions is called storage devices.