PRO192_FE_SP23_311.webp
Soram

PRO192_FE_SP23_311.webp

  • Media owner Soram
  • Ngày thêm
Bài viết gốc: Chủ đề 'PRO192 FE SP23'
(Choose 1 answer)
What is the output of the following program?
import java.io.IOException;
public class Main {
public static void main(String[] args) {
int k = 5;
try {
if(k>4) throw new IOException();
} catch(IOException e) {
System.out.print("one ");}
catch(Exception e) {
System.out.print("two ");
}
}
finally {
System.out.print("three");
System.out.println();
A. one
B. one two
C. one three
D. one two three

Thông tin

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

Share this media

Back
Bên trên Bottom