java - BigInteger valueOf method cannot find symbol -


i created array consisting biginteger objects. when want assign numbers array, cannot find symbol error. can me? that's code:

import java.io.*; import java.util.*; import java.math.biginteger;  public class solution {     public static void main(string[] args)      {         scanner in = new scanner(system.in);         int t1= in.nextint();         int t2= in.nextint();         int n= in.nextint();          biginteger[] arr = new biginteger[n];         arr[0] = new biginteger.valueof(t1);         arr[1] = new biginteger.valueof(t2);      } } 

input values 0 1 5. , error:

solution.java:15: error: cannot find symbol         arr[0] = new biginteger.valueof(t1);                                ^   symbol:   class valueof   location: class biginteger solution.java:16: error: cannot find symbol         arr[1] = new biginteger.valueof(t2);                                ^   symbol:   class valueof   location: class biginteger 2 errors 

valueof static method

arr[0] = biginteger.valueof(t1); 

Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -