analyze the code and find the error and fix the error. package fHist; public class famHist {
Fantastic news! We've Found the answer you've been seeking!
Question:
analyze the code and find the error and fix the error.
package fHist;
public class famHist {
String name = "Lawrence Magee";
static String family = " 1 wife, 1 daughter";
public void famRecord(String name, String obj, String family) {
this.name = name;
famHist.family = family;
}
public static void main(String[] args) {
LawrenceMagee ob = new LawrenceMagee();
System.out.println("this is your immidiate family history");
System.out.println(" Your name: " + ob.name);
System.out.println(" Family Members" + family);
}
}
Related Book For
Posted Date: