PRO192_-_C1_-_RE_-_SU_2023_545.webp
Hoàng Long1

PRO192_-_C1_-_RE_-_SU_2023_545.webp

(Choose 1 answer)

Given the following class definition
public class Droitwich{
class one{
private class two{public void main(){
System.out.println("two");
}
}
} Which of the following statements is true?
A. The code will not compile because the classes are nested to more than one level
B. The code will not compile because class two is marked as private
C. The code will compile and output the string two at runtime
D. The code will compile without error
Exit 2

Thông tin

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

Image metadata

Filename
PRO192_-_C1_-_RE_-_SU_2023_545.webp
File size
54.5 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom