stephen84s 550 Nearly a Posting Virtuoso Featured Poster

how we can send binary sms to any mobile particularly nokia mobile from pc using smpp...

Since you mentioned SMPP, I am assuming you know about UDH, and the providers and what are binary messages.
Here is a link on how to send WAP push messages, it does not deal with the SMPP part it deals more with how the message should be encoded, and from my days in the messaging domain we used to consider WAP push a type of a binary message, so this should hopefully shed some light on the topic for you.

stephen84s 550 Nearly a Posting Virtuoso Featured Poster

Stop calling him Rashakil fool, maybe he will stop the 'war of words' too!

Naah !!! For a guy who plays tit for tat with Bad Reps his IQ is too low to understand that.

Rashakil Fol commented: Sorry, I don't understand what you're saying. -2
stephen84s 550 Nearly a Posting Virtuoso Featured Poster

A request to the moderators please lock this thread as I doubt anything related to original post is bound to be added here anymore and for no reason at all is being brought on the first page repeatedly.

stephen84s 550 Nearly a Posting Virtuoso Featured Poster

Just let the attribute "u" be an int array of size (c-a),
And in your constructor instead of after displaying the values just store the squares as
below:-

public class sumSquares {
  public sumSquares(int a, int c){
    // Since we need the squares of c and a also
    u=new int[c-a+1]
    while (a<=c) {
      u[u.length-(c-a+1)]=(a*a);
      a=a+1;
      System.out.println(u[u.length-(c-a+1)]);
    }
  }
  private int[] u;
}
Ezzaral commented: At least take the time to ensure your code works when you post an example. -2