20251108144506.webp
Q

20251108144506.webp

Question paper (build 07.05.20.19)
(A,3) (B,7) (CAB,6) (D,7) (E,6)
OUTPUT:
4
Add how many elements: 0
Enter TC(1-fl;2-12;3-13): 3
The list before running 13:
(H,19) (G,213) (E,8) (F,47) (E,56) (C,65) (B,74) (A,83)
OUTPUT:
(H,19) (E,8) (G,213) (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
FUO methods f1 and f2 in IString as below:

Thông tin

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

Share this media

Back
Bên trên Bottom