Answer:
Option (2) i.e., Only (ii) is the correct option to the following question.
Explanation:
Here, in the following code that is written in the Java Programming Language in which they set integer data type array variable "alpha" and set its index to 3 through "new" keyword then, we get input from the user in the index 0 then, we get input from the user in the index 1 then, again we repeat this step for index 2. So, that's why the following option is correct.
Option 1 is wrong because in this option the user input only in the index 0 and this is also the wrong way to insert value in the array variable.
Answer:
Java solution (because only major programming language that has public static methods)
(import java.io.* before hand)
public static boolean s2f(String fileName, String text){
try{
PrintWriter out = new PrintWriter(new File(fileName));
out.println(text);
out.close();
return true;
}
catch(Exception e){
return false;
}
}
Answer:
I don't think you can. You can try to make an email that has the name you want and use that.
Explanation: