PRO192_-_PE_-_SP_2024_1494.webp
O

PRO192_-_PE_-_SP_2024_1494.webp

  • Media owner Obanai89
  • Ngày thêm
4 of 4
Paper No: 7
Add how many elements: 0
Add how many elements: 0
Enter TC(1-fl;2-f2;3-13): 2 The list before running f2:
Enter TC(1-f1;2-f2;3-f3): 1
(A,6) (B,9) (C,2) (D,9) (E,2) (F,9) (G,2) (H,5)
The list before running f1:(A123,8) (B,2) (C12,6) (D1,7) (E234,6)
OUTPUT:(A,6) (B,9) (C,2) (F,9) (E,2) (D,9) (G,2) (H,5)
}
OUTPUT:6
Add how many elements: 0
Enter TC(1-fl;2-f2;3-13): 3
The list before running f3:
(H,19) (G,56) (E,8) (F,47) (E,56) (C,65) (B,74) (A,83)
OUTPUT:(E,8) (G,56) (E,8) (F,47) (E,56) (C,65) (B,74) (A,83)
Question 4:
(2 marks) The interface IString below is already compiled and given in byte code format, thus you can use it without creating IString.java file.
public interface IString {
public int f1(String str);
public String f2(String str);
Write a class named MyString, which implements the interface IString. The class MyString implements
Zoom
FUO
85%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRO192_-_PE_-_SP_2024_1494.webp
File size
175.7 KB
Dimensions
1920px x 990px

Share this media

Back
Bên trên Bottom