多选题
Given:
public class Dinner {
public
static void main (String[] args)
{
boolean
isKeeperFish = false;
if (isKeeperFish = true) {
System.out.println("Fish for dinner");
} else
{
System.out.println("Take out for dinner");
}
}
}
What will be the result
of the application's execution?
- A. Fish for dinner will be printed.
- B. Take out for dinner will be printed.
- C. A compilation error will occur.