PRO192_-_SU_2023_-_Block_5_-_RE_753.webp
Mai Linh 2001

PRO192_-_SU_2023_-_Block_5_-_RE_753.webp

OD
(Choose 1 answer)
A. public int aMethod(int a, int b) {}
B. public float aMethod(float a, float b, int c) throws Exception {}
C. private float aMethod(int a, int b, int c) {}
D. public float aMethod(float x, float y) {}
Consider this class:
1. public class Test1 {
2 public float aMethod(float a, float b) {
3.return 0.5;
4 }
5.
6.}
Which of the following methods would be illegal if added (individually) at line 5?


Thông tin

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

Image metadata

Filename
PRO192_-_SU_2023_-_Block_5_-_RE_753.webp
File size
51.5 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom