Search:

Type: Posts; User: Ashar

Search: Search took 0.09 seconds.

  1. Replies
    0
    Views
    1,288

    Network status estimation using Java

    I am supposed to write a client server code using Java, that will estimate the network status between the two computers, in terms of Link Speed, Packet loss and end to end delay.


    I am still a...
  2. Replies
    4
    Views
    2,168

    Re: small problem ... I need help

    public class Test2
    {
    public static void main(String args[])
    {

    int count = 1;
    int count2 = 1;


    for (int i = 5 ; i>= 1; i--)
  3. Replies
    4
    Views
    2,168

    small problem ... I need help

    I'm very new to Java and I'm getting really good so far in writing codes but i need help with these programs :


    how can i print these shapes using for loop :

    first shape : (I meant with the...
  4. Replies
    17
    Views
    45,058

    Re: How to convert String to int

    Thank you chris :)

    can you tell me why was it used in a program to read a number .. does JOptioPane always reads strings?
    like this :

    int x = Integer...
  5. Replies
    17
    Views
    45,058

    Re: How to convert String to int

    when i tried this code


    String yourString = "Ashar";
    int yourInt = Integer.parseInt(yourString);

    System.out.println(yourInt);


    it compiled showing no errors ... however when I run the...
Results 1 to 5 of 5