Results 1 to 9 of 9
  1. #1
    Hendrik is offline Member
    Join Date
    Jul 2013
    Location
    Philippines
    Posts
    4
    Rep Power
    0

    Default how to write a program whose main method holds two integer variables??

    how to write a program whose main method holds two integer variables??

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default Re: how to write a program whose main method holds two integer variables??

    Where exactly are you stuck?

    The Java™ Tutorials

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    Hendrik is offline Member
    Join Date
    Jul 2013
    Location
    Philippines
    Posts
    4
    Rep Power
    0

    Default Re: how to write a program whose main method holds two integer variables??

    can you make me a program?

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default Re: how to write a program whose main method holds two integer variables??

    I can, but I won't, as that would deny you a learning opportunity.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  5. #5
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default Re: how to write a program whose main method holds two integer variables??

    Let's see you make a start. Write a class with a main(...) method. Then think about what the assignment asks for.

    Before posting your code, please go through the Guide For New Members and BB Code List - Java Programming Forum - Learn Java Programming

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  6. #6
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default Re: how to write a program whose main method holds two integer variables??

    No... but if you make a program, we can help you with any specific problems or questions you might have.
    Get in the habit of using standard Java naming conventions!

  7. #7
    Hendrik is offline Member
    Join Date
    Jul 2013
    Location
    Philippines
    Posts
    4
    Rep Power
    0

    Default Re: how to write a program whose main method holds two integer variables??

    ok sir thank you for your time

  8. #8
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default Re: how to write a program whose main method holds two integer variables??

    That's it? All you were looking for is someone to do your homework for you?

    Shame on you!

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  9. #9
    Hendrik is offline Member
    Join Date
    Jul 2013
    Location
    Philippines
    Posts
    4
    Rep Power
    0

    Default Re: how to write a program whose main method holds two integer variables??

    im already done hahaha no need to be angry

Similar Threads

  1. Replies: 4
    Last Post: 01-14-2013, 09:33 PM
  2. how to write main program?
    By kalaramar in forum New To Java
    Replies: 2
    Last Post: 07-28-2012, 06:14 PM
  3. Significance of the main method in a java program
    By Dreaming in forum New To Java
    Replies: 10
    Last Post: 01-29-2012, 04:21 AM
  4. Replies: 4
    Last Post: 03-25-2008, 01:16 PM
  5. Replies: 1
    Last Post: 08-07-2007, 07:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •