Search:

Type: Posts; User: mindful314

Search: Search took 0.12 seconds.

  1. 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...
  2. 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...
  3. 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"
  4. 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"));
    ...
  5. 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 5 of 5