This discussion is archived
2 Replies Latest reply: Jan 23, 2013 8:59 AM by aksarben RSS

pls create the program for the following question

986720 Newbie
Currently Being Moderated
create a class called exercise and create two methods, first method one parameter, second method two parameters.the method should print these parameter values.in the mainmethod create an instance of class exercise and invoke these two methods
  • 1. Re: pls create the program for the following question
    aksarben Journeyer
    Currently Being Moderated
    Sorry, this is not a homework factory. Try it yourself & if you get stuck, post a question. Be sure to include the entire stack trace of any errors, & properly format any code you post.
  • 2. Re: pls create the program for the following question
    rp0428 Guru
    Currently Being Moderated
    Welcome to the forum!
    >
    create a class called exercise and create two methods, first method one parameter, second method two parameters.the method should print these parameter values.in the mainmethod create an instance of class exercise and invoke these two methods
    >
    The forums are for helping people with understanding Java and how to use it and helping them find and fix problems in their code.

    This is not a coding service. You have to write the code and if you have problems post the code you have written (use \
     on the line before and the line after any code to preserve formatting), the output you get and the output you expect to get.
    
    If you are learning Java you should go through The Java Tutorials
    http://docs.oracle.com/javase/tutorial/index.html
    
    There is a Getting Started section that has the traditional 'HelloWorld' application
    http://docs.oracle.com/javase/tutorial/getStarted/application/index.html
    
    And there is a section for classes, objects, methods and how to create and use them.
    http://docs.oracle.com/javase/tutorial/java/javaOO/index.html
    
    Good luck!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points