Search:

Type: Posts; User: arunjib

Search: Search took 0.07 seconds.

  1. Replies
    18
    Views
    2,506

    Re: What's Wrong With My Code?

    Thank you Very Much. My problem is now solved.
  2. Replies
    18
    Views
    2,506

    Re: What's Wrong With My Code?

    I am feeling shy now!
    I changed my code as follows... but its incorrect. please help me


    public void display()
    {
    if(this.validate()) // using the this keyword.
    {
    ...
  3. Replies
    18
    Views
    2,506

    Re: What's Wrong With My Code?

    Sorry! i cannot apply the tecnique in my program. please help me
  4. Replies
    18
    Views
    2,506

    Re: What's Wrong With My Code?

    i have made my code as follows... now the question is how can i display time as 12 hour format?

    public void display()
    {
    // if(hh>12)
    // hh=hh-12;
    // Time ob = new...
  5. Replies
    18
    Views
    2,506

    Re: What's Wrong With My Code?

    Thank you for pointing out the problems. I would be more greatful if you make the necessary correction on my codes as I am very new in Java programs.
  6. Replies
    18
    Views
    2,506

    Re: What's Wrong With My Code?

    Thank you very much for helping me. now i have only one problem on my program. If i enter time >23, it should display "Invalid Format". but its is showing the time subtracting 12.
    Here is the final...
  7. Replies
    18
    Views
    2,506

    What's Wrong With My Code?

    Please help me, I cannot find the error in the following code. Boolean always returs true in the following program.

    class time
    {
    int hh, mm, ss;
    public time()
    {
    hh = 0;...
Results 1 to 7 of 7