PRO192_-_SP_2023_-_BL5_-_FE_118.webp
hoangduc2001

PRO192_-_SP_2023_-_BL5_-_FE_118.webp

Multiple Choices
Answer (Choose 1 answer)
Given the following class definition
public class Upton{
public static void main(String argv[]){}
public void amethod(int i) {}//Here
}
Which of the following would be illegal to place after the comment //Here?
A. public int amethod(int z){}
B. public int amethod(int i, int j){return 99;}
C. protected void amethod(long l){}
D. private void anothermethod(){}

Thông tin

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

Share this media

Back
Bên trên Bottom