Q31.webp
vanhoa2005

Q31.webp

Question: 31
(Choose 1 answer)
What is the output following the code snippet?
class Static Test {
static void static Method() {
System.out.println("Static Method");
}
public class Main {
public static void main(String[] args) {
Static Test first = null;
first.staticMethod();
A. Static Method
B. Throws a NullPointerException
C. null
D. None of the others

Thông tin

Category
PRO192
Thêm bởi
vanhoa2005
Ngày thêm
Lượt xem
1,589
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom