Consider the following method:
public void printPowersOfTwo(int n) {
for (int i = 0; i <= n; i++) {
int power = (int) Math.pow(2, i);
System.out.print(power + " ");
}
}
Assume that the method printPowersOfTwo(5) appears in a method in the same class. What is printed as a result of the method call?