Search:

Type: Posts; User: Supun Pramoda

Search: Search took 0.29 seconds.

  1. Replies
    3
    Views
    232

    Re: Please solve my problem

    I think "Exception"(I mean top in the Throwable class hierachy) checked in compile time.So any thread when we use compiler must give the error in that case.can you explain why it doesn't give...
  2. Replies
    3
    Views
    232

    Please solve my problem

    I have some problem in that code...


    import java.io.*;
    class Demo{
    public static void main(String args[]){
    try{
    //
    ...
  3. Replies
    5
    Views
    266

    Re: need a help to do this Question

    ok. I think the the minimum number must be contain more than 6 digits.So I want to check each number digit by digit until find the minimum number.I want to create an Array to do that.But I can't...
  4. Replies
    5
    Views
    266

    Re: need a help to do this Question

    I haven't clear idea to solve this this question.can you help me to do that??:confused:
  5. Replies
    5
    Views
    266

    need a help to do this Question

    I tried to do this question.But I can't take a right approach. This is the question:

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    It can be seen that the number, 125874...
  6. Replies
    14
    Views
    349

    Re: Please solve my problem

    ok..I think I can got your ideas. Thanks for all of you.:-bd
  7. Replies
    14
    Views
    349

    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...
  8. Replies
    14
    Views
    349

    Re: Please solve my problem

    Is the char array must override with toString method??????why the integer array doesn't match in that concept???
  9. Replies
    14
    Views
    349

    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....
  10. Replies
    14
    Views
    349

    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];...
  11. Thread: Hey guys

    by Supun Pramoda
    Replies
    1
    Views
    145

    Hey guys

    hi,
    I'm new for java.I think you may help me to resolve my problems..:confused:
Results 1 to 11 of 11