Search:

Type: Posts; User: kissmiss

Search: Search took 0.24 seconds.

  1. Replies
    1
    Views
    863

    Re: for loop in java

    Thanks its working now,
    I should use this.



    for(int i=0; i<size; i++ ) {
    for(int j=0; j<size; j++){
    if (i!=j)
    makeFriend(userNameList.get(i),...
  2. Replies
    1
    Views
    863

    for loop in java

    Hi,
    I am new here and beginner for java.
    I wrote a simple List program with for loop.


    public class UserDemo {

    List<String> userNameList = new ArrayList<String>();

    public UserDemo...
Results 1 to 2 of 2