Given
class Foo {
static void alpha() {
/* more code here */
}
void beta() {
/* more code here */
}
}
Which two statements are true? (Choose two.)
A.
Foo.beta() is a valid invocation of beta().
B.
Foo.alpha() is a valid invocation of alpha().
C.
Method beta() can directly call method alpha().
D.
Method alpha() can directly call method beta().
Explanation:
B & C