Search:

Type: Posts; User: yash_java

Search: Search took 0.10 seconds.

  1. couldnt call one webservice from other webservice getting not an interface error and IllegalArgumentException at runtime

    Task :
    I have to a develop client which access a webservice (which in turn will communicate with another dummy webservice) to give back the response to the client.

    What I have developed so far :...
  2. Re: Java program to find the index of the greater element whose value is sum of the remaining elements

    Ok thanks for the response !
  3. Re: Java program to find the index of the greater element whose value is sum of the remaining elements

    This is the approach I have followed to write that program.

    These are the steps I have followed in my piece of code,

    step 1 : accepted 3 numbers (for simplicity)

    step 2 : calucated biggest...
  4. Re: Java program to find the index of the greater element whose value is sum of the remaining elements

    For my example, program should return the index of the greatest number which is sum of the remaining i.,e '4' here !

    We must write a program which finds the index of the highest number in the...
  5. Re: Java program to find the index of the greater element whose value is sum of the remaining elements

    thank you for the response Norm !

    here is a sample array,
    int[] numberList = {100,100,100,100,900,100,100,100,100,100};

    But it would be good if we can accept a random array from the user and...
  6. Re: Java program to find the index of the greater element whose value is sum of the remaining elements

    This was my answer in the interview which made me rejected in the interview.

    These are the steps I have followed in my piece of code,

    step 1 : accepted 3 numbers (for simplicity)

    step 2 :...
  7. Java program to find the index of the greater element whose value is sum of the remaining elements

    I need to write a java program to find the index of the element whose value is the sum of the remaining elements. can anyone help me with this ?

    Recently I have been asked this question in an...
Results 1 to 7 of 7