Page 1 of 1

these are java programming.... part-A this is fill in the gaps....part-b...please write and run the code...it’s urgent.

Posted: Mon Jun 06, 2022 6:18 pm
by answerhappygod
these are java programming.... part-A this is fill in the gaps....part-b...please write and run the code...it’s urgent.
These Are Java Programming Part A This Is Fill In The Gaps Part B Please Write And Run The Code It S Urgent 1
These Are Java Programming Part A This Is Fill In The Gaps Part B Please Write And Run The Code It S Urgent 1 (52.62 KiB) Viewed 24 times
a) Rea Read the following program code carefully, and complete the statements underlined (1) to (5) abstract class Person { private String name; public Person (String n) { name = n; } public (1) String getMajor (); () { public String (2) return name; } } class Student (3) Person { private (4) public Student (String n, String m) { super (n); major = m; } public String (5) _() { return "major is :" + major; } public class TestPerson { public static void main(String args[]) { Person p = new Student ("tom", "AI engineering"); System.out.println (p. getName()+", "+ p. getMajor ()); } Programming problems Evaluate the following expression Until the last item is less than 0. 0001 with do while 1/2+1/3+1/4+1/5!...... +1/15!....... b)