anonymous
  • anonymous
look at the both programs Carefully 1- public class scannerClass { scannerClass (int a) // a constructor which print value a { int av; av=a; System.out.println(a); } public static void main(String ar[]) {int k; scannerClass a = new scannerClass(32); //value is pass directly when object is created //a.??? only Object class method will be shown }} 2- public class scannerClass { int ScannerClass(int a) //constructor with return type { int av; av=a; System.out.println(a); return a; } public static void main(String ar[]) {int k; //scannerClass a = new sc
Computer Science
  • Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
schrodinger
  • schrodinger
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

Looking for something else?

Not the answer you are looking for? Search for more explanations.