import java.lang.*;
public class IntegerDemo {
public static void main(String[] args) {
// determines the integer value of the system property
String str = "sun.arch.data.model";
System.out.println(Integer.getInteger(str));
// prints null
str = "java";
System.out.println(Integer.getInteger(str));
}
}
خروجی کد بالا :
5
null
سوالم اینه که دقیقا کار این تابع چیه و چطور کار میکنه و در کجا کار برد داره
دوستان اگه میشه کد بالا رو هم یه توضیح بدید ، ممنون .