Choose delete from the file menu.
When methods have public access, other programs and methods may use the methods to get access to the private data.
<h3>What do you mean by public access?</h3>
The Definition of the term public access is known to be a kind of a television channel where anybody can be able to broadcast a program
An example is the city council meeting can be able to broadcast on public access.
Hence, When methods have public access, other programs and methods may use the methods to get access to the private data.
See full question below
When methods have ____, other programs and methods may use the methods to get access to the private data.
a. private access
b. public access
c. complete access
d. all access
Learn more about public access from
brainly.com/question/2736088
#SPJ1
Answer:
See explaination
Explanation:
def readFileFirstLast(filename):
# doc string
''' Function accept the filename and opens the fle
and reads all lines and strips new line character and
stores first and last in a string and return that string'''
#eception handle if file not found
try:
#opening the file
f = open(filename)
#reading the first line and striping the ne line
string = f.readline().strip()
#iterating until last line
for line in f:
pass
#concate the last line after strip the new line character to the string
string = string + " " + line.strip()
#return the string
return string
except:
#if file not found
return "File not found"
#taking the file name from user
filename = input("Enter a file name: ")
#printing the doc string in function
print("\ndoc_sting: \n"+ readFileFirstLast.__doc__+"\n")
#printing the returned string by calling the readFileFirstLast()
print("output string :")
print(readFileFirstLast(filename))
An application where you would prefer a parallel circuit over series would be a string of Christmas lights. If the light string is wired in parallel, when one bulb burns out, it would not effect the red of the string.
Answer:
Both perform processes vital to running the computer's operating system and programs -- the motherboard serves as a base connecting all of the computer's components, while the CPU performs the actual data processing and computing.
Explanation: