libraries - Deprecated java classes in stdlib.jar -


i'm facing problem deprecated classes in set of libs programming in java tutorial. currently, i'm trying run threesum.java , getting noclassdeffounderror in cmd (windows). problem readints(args[0]) class deprecated. programming skills not enough fix myself. appreciate help.

readints method not class.

/**  * reads ints stdin.  * @deprecated more consistency, use {@link #readallints()}  */ public static int[] readints() {     return readallints(); } 

as can see here, fix use readallints(). however, deprecated methods should still work. verify have setup stdlib.jar correctly, , including in class path when compiling.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -