Search:

Type: Posts; User: TheNextBillGates

Search: Search took 0.34 seconds.

  1. Replies
    2
    Views
    598

    Re: Problem with Scanner

    since it appears you are not modifing the variable inside your methods you could also simply pass it to each of your methods
    eg:


    import java.util.*;

    public class Question2 {

    ...
  2. Replies
    12
    Views
    540

    Re: Help Passing Variables

    you wrote:

    if masterNumber is not equal to reverseIt then display "They Match"
    else (if masterNumber is equal to reverseIt) display "No Match"

    try:


    if(masterNubmer.equals(reverseIt)...
  3. [SOLVED] Re: How can i fix and run my program?? Please help..

    Norm is right your main method is invalid. Try moving it to its own class and remove the argument 'String y' from it.

    I'm not sure why you have 'String y' in the arguments for you main method in...
Results 1 to 3 of 3