Suppose you have a file with the following content:
1
What will be in the file after executing the following code?
myFile.writeText("1\n")
myFile.writeText("2")
myFile.appendText("3")
a)
11
23
b)
23
c)
1
23
d)
1123
Suppose you have a file with the following content:
1
What will be in the file after executing the following code?
myFile.writeText("1\n")
myFile.writeText("2")
myFile.appendText("3")
a)
11
23
b)
23
c)
1
23
d)
1123Create a free account to access the full topic