Question: I 2 errors > Windows PowerShell PS C:UserspcDesktopfares additionHuge Integer> javac Test.java Test.java:7: error: cannot find symbol List list=new Huge Integer(); Study Pack symbol: class

 I 2 errors > Windows PowerShell PS C:\Users\pc\Desktop\fares additionHuge Integer> javac

I 2 errors > Windows PowerShell PS C:\Users\pc\Desktop\fares additionHuge Integer> javac Test.java Test.java:7: error: cannot find symbol List list=new Huge Integer(); Study Pack symbol: class List location: class Test Test.java:7: error: constructor Huge Integer in class Huge Integer cannot be applied to given types; List list=new Huge Integer(); required: String C:\Users\pc\Desktop\fares additionHugelnteger\Test.java - Notepad++ X found: no arguments reason: actual and formal argument lists differ in length File Edit Search View Encoding Language Settings Tools Macro Run Plugins Window ? X PS C:\Users\pc\Desktop\fares \additionHuge Integer> javac Test.java LEER 1 Test.java:7: error: cannot find symbol List list = first.huge IntegerAdd(second); Test Algo.java x hugeinteger.java x testhugeinteger.java X HugeInteger.java > Test.java X symbol: class List Elpublic class Test { location : class Test 1 error public static void main(String[] args) { PS C:Users\pc\Desktop\fares additionHuge Integer String one = "862758250540736047343432411236541";|| String two two = "862758250540736047343432411236541"; Huge Integer first = new Huge Integer (one); Huge Integer second = new Huge Integer (two); List list = first.huge IntegerAdd (second); StringBuilder ans = new StringBuilder(); for (Integer integer : list) { ans.append(integer); } 12 System.out.println("Addition of two huge integers: "+ans); 13 14 - } I 2 errors > Windows PowerShell PS C:\Users\pc\Desktop\fares additionHuge Integer> javac Test.java Test.java:7: error: cannot find symbol List list=new Huge Integer(); Study Pack symbol: class List location: class Test Test.java:7: error: constructor Huge Integer in class Huge Integer cannot be applied to given types; List list=new Huge Integer(); required: String C:\Users\pc\Desktop\fares additionHugelnteger\Test.java - Notepad++ X found: no arguments reason: actual and formal argument lists differ in length File Edit Search View Encoding Language Settings Tools Macro Run Plugins Window ? X PS C:\Users\pc\Desktop\fares \additionHuge Integer> javac Test.java LEER 1 Test.java:7: error: cannot find symbol List list = first.huge IntegerAdd(second); Test Algo.java x hugeinteger.java x testhugeinteger.java X HugeInteger.java > Test.java X symbol: class List Elpublic class Test { location : class Test 1 error public static void main(String[] args) { PS C:Users\pc\Desktop\fares additionHuge Integer String one = "862758250540736047343432411236541";|| String two two = "862758250540736047343432411236541"; Huge Integer first = new Huge Integer (one); Huge Integer second = new Huge Integer (two); List list = first.huge IntegerAdd (second); StringBuilder ans = new StringBuilder(); for (Integer integer : list) { ans.append(integer); } 12 System.out.println("Addition of two huge integers: "+ans); 13 14 - }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!