Answer:
The correct answer to the following question is option 4.
Explanation:
The private class does not mean that the package-private, it means that no other class can see its members.
It is used in creating the building blocks which is implementing the internal functionality that you don't want to visible to the other projects using the library.
We can use private constructor to ensure that more than one object cannot be created at the time.
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:
Aggregate Function
.
Explanation:
The aggregate function returns the single value of the entire column of the database management system. The Aggregate Function is used in the SELECT statement and the GROUP BY clause.
The sum(),avg(), etc are some examples of Aggregate Function in the database with the help of aggregate function bobby gains the access to information above the usual clearance point. and summarizes the data.