Search:

Type: Posts; User: Annas

Search: Search took 0.15 seconds.

  1. Re: Why the line Vector<String> result = new Vector<String>(respNum); is not ok??

    Vector<String> result = new Vector<String>(respNum);

    I corrected it
  2. Why the line Vector result = new Vector(respNum); is not ok????

    static Vector findMatch(String str) {
    Vector<String> result = new Vector<String>(respNum);
    for(int i = 0; i < KnowledgeBase.length; ++i) {
    if(KnowledgeBase[i][0].equalsIgnoreCase(str)) {...
Results 1 to 2 of 2