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
Post a Comment