Java StringTokenizer nextElement()方法与示例

  • Post author:
  • Post category:java


StringTokenizer类的nextElement()方法

(

StringTokenizer Class nextElement() method

)


  • nextElement() method

    is available in

    java.util

    package.


    nextElement()方法

    在java.util包中可用。


  • nextElement() method

    is used to return the next element of this Standard Time.


    nextElement()方法

    用于返回此标准时间的下一个元素。


  • nextElement() method

    is a non-static method, it is accessible with the class object only and if we try to access the method with the class name then we will get an error.


    nextElement()方法

    是一种非静态方法,只能通过类对象访问,如果尝试使用类名称访问该方法,则会收到错误消息。


  • nextElement() method

    does not throw an exception at the time of returning the next element.


    nextElem