Search:

Type: Posts; User: mindful314

Search: Search took 0.07 seconds.

  1. Common characteristic in programming language

    Which of these is not a real differentiator for programming languages:
    a) Object-oriented / Process-Oriented
    b) Interactive /...
  2. Re: Confusion with the question about this coding

    what does mean by ((int)((string)((int)"7")+"5")) ? just could not get through what I need do by this statement

    Thanks

    --- Update ---

    I agree with you, it might be mistaken or purposely...
  3. Replies
    5
    Views
    1,054

    Re: For Loop with condition

    What you are saying the condition depends on J's value as j = 100-(99)...(98)..(97)..(96)...(95) <5 which will stop when it hits 5. I think I have little better understanding.

    Thanks a lot:)
  4. Replies
    5
    Views
    1,054

    Re: For Loop with condition

    [public static void PrintNum () {

    int i;
    int j = 0;

    for (i =100; j<5; i=i)j=100-(i-=1);
    System.out.println(i);

    } ]
  5. Re: Confusion with the question about this coding

    Obviously you can tell that I'm new to programming...
    I'm kind of confused with i = ((int)((string)((int)"7")+"5")) when question a) says An integer, where i = 12;

    These are test questions that I...
  6. Re: Confusion with the question about this coding

    It says "String can not be resolved to a type or can not cast from String to int"
  7. Re: Confusion with the question about this coding

    It shows an error message on i = ((int)((string)((int)"7")+"5")); when I run

    public static void printnum1() {

    int i = 12;


    i = ((int)((string)((int)"7")+"5"));
    ...
  8. Replies
    5
    Views
    1,054

    For Loop with condition

    [public static void PrintNum () {

    int i;
    int j = 0;

    for (i =100; j<5; i=i)j=100-(i-=1);
    System.out.println(i);

    } ]
    I'm not following how it calculated to 95 since I'm...
  9. Confusion with the question about this coding

    What does mean by ((int)((string)((int)"7")+"5"))

    The result of i = ((int)((string)((int)"7")+"5"))
    1) An integer i, where i = 12
    b) A String, i where i = 12
    c) A...
Results 1 to 9 of 9