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'
Answer (Choose 1 answer)
Read the following Java program:
class Person
{
String name;
public Person(String name) { this.name = name;
}
}
class Student extends Person
{
double marks;
public Student(double marks, String name) {
[Blank A]
this.marks = marks;}
public String toString()
return name + "-" + marks;
}
} public class Main {
public static void main(String[] args) {
Student s = new Student(7.5, "John Vu");System.out.println(s);
}
The program output looks like as below
Save at server failed!. Please inform the supervisor and continue the exam.
Eut

Thông tin

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

Share this media

Back
Bên trên Bottom