Search:

Type: Posts; User: Supun Pramoda

Search: Search took 0.39 seconds.

  1. Replies
    14
    Views
    1,305

    Re: Please solve my problem

    ok..I think I can got your ideas. Thanks for all of you.:-bd
  2. Replies
    14
    Views
    1,305

    Re: Please solve my problem

    I mean when we change L2 like this:

    l[0]=78;
    System.out.println(l);

    in that case the output is different from char array.So I want to know what's the between char array & integer...
  3. Replies
    14
    Views
    1,305

    Re: Please solve my problem

    Is the char array must override with toString method??????why the integer array doesn't match in that concept???
  4. Replies
    14
    Views
    1,305

    Re: Please solve my problem

    I think,
    L1: It's default value of char(null character ('\0'))
    L2: first two array element when we create it in heap.
    L3: I can't explain about that..please help me.
    L4 : This is the same in L2....
  5. Replies
    14
    Views
    1,305

    Please solve my problem

    anyone can explain me the output of this code line by line...




    class Example{
    public static void main(String args[]){
    char cr[]=new char[3];
    int l[]=new int[3];...
Results 1 to 5 of 5