Search:

Type: Posts; User: KevinWorkman

Page 1 of 20 1 2 3 4

Search: Search took 0.56 seconds.

  1. Replies
    6
    Views
    69

    Re: Print a 2D array like

    Huh? We help by trying to work through a problem with you, not by "giving hints". Either way, good luck.
  2. Replies
    6
    Views
    69

    Re: Print a 2D array like

    You'll have better luck if you post your code in the form of an [MCVE](How to create a Minimal, Complete, and Verifiable example - Help Center - Stack Overflow). What does that code do?
  3. Replies
    6
    Views
    69

    Re: Print a 2D array like

    Get out a piece of paper and a pencil. Make a grid. Fill it in with different examples. Keep doing that until you see a pattern.

    We aren't going to do your homework for you. Try something and post...
  4. Replies
    3
    Views
    64

    Re: String searching for a word

    Well, your first step would be to fix your compiler issues!

    Keep in mind that this is not a complete class- your declaration for inputArray is missing, and I'm pretty sure your println() function...
  5. Re: Help with mirrorVerticalRightToLeft method

    When posting code, make sure you use the code tags to preserve formatting. Any code you post should be in the form of an MCVE instead of a disconnected snippet.

    What exactly do you mean when you...
  6. Replies
    3
    Views
    64

    Re: String searching for a word

    Does it work? Does it do what you want? Do you understand what it's doing?

    Here's a corner case you might not have caught: are there any words that contain the String "dog" twice? What would your...
  7. Replies
    2
    Views
    64

    Re: Count-up textview android

    Look at this value:

    (endValue - startValue) * fraction

    That will always return something from 0 to (endValue - startValue).

    If you want it to start at the startValue, then just add the...
  8. Thread: Questions

    by KevinWorkman
    Replies
    6
    Views
    66

    Re: Questions

    I agree, these questions are confusing. An "anonymous object instance" is just an instance of an anonymous class, and wouldn't necessarily be any of the answers. The 3rd question just seems like a...
  9. Thread: Questions

    by KevinWorkman
    Replies
    6
    Views
    66

    Re: Questions

    I suppose I agree with the first answer, but I'm not even sure what the other 2 questions are supposed to be asking.
  10. Thread: Questions

    by KevinWorkman
    Replies
    6
    Views
    66

    Re: Questions

    This question doesn't make any sense. You almost sound like a spambot pasting together random gibberish. Can you be more specific? What do you think the answer to each question is?
  11. Re: How to stop infinite loop programmatically

    Recommended reading: Halting problem - Wikipedia, the free encyclopedia
  12. Re: Is it possible to open file using .jar using javascript

    Your question doesn't make a ton of sense. Are you using Java or JavaScript?

    Are you asking if you can open a jar through JavaScript? The answer is no. That would be a horrible security breach.
  13. Replies
    1
    Views
    44

    Re: Requesting Community Advice

    You can't go from for loops to OOP in a few hours.

    The only way to learn this stuff is by doing it. You said you haven't completed your labs: that's step one. Go back and start from the very...
  14. Replies
    3
    Views
    47

    Re: 404 and 500 errors

    Norm noticed that the forum was redirecting to some blog, and I (and I assume everybody else) was getting a "this account has been suspended" error page after that.

    Something must have happened- I...
  15. Re: Good exception handling policy for Java web application

    Basic tutorials sometimes take shortcuts so that they can focus on what they're trying to cover. Using e.printStackTrace() is fine in a basic tutorial. The problem is when you use it on a larger...
  16. Replies
    2
    Views
    76

    Re: Need Help With Code Formatting

    The error says it all: the Math.abs() function only takes a single argument. You're passing in two arguments.

    Try splitting the line up into multiple lines. First find the absolute value, then...
  17. Re: Problem in setting java environment for Eclipse in Windows OS

    Just get the latest JDK: Java SE Development Kit 8 - Downloads
  18. Re: Can this be solved with a regular expression?

    I'm not a regex expert, but the problem seems to be that you're trying to match too much of your text. It seems like you're trying to get the entire line, when really you should be searching for the...
  19. Re: Can this be solved with a regular expression?

    What exactly do you mean when you say this does not work? How exactly are you using this regular expression? Can you post an MCVE (can just be a simple main method with hard-coded values and some...
  20. Re: In need of Java application deployment customization techniques

    I'm not sure how much help we're going to be- this seems to be pretty specific to your context, which only you know.

    You might have better luck if you post some very basic example code showing the...
  21. Re: please convert my matlab code into java code

    That really isn't how this works.
  22. Re: count number of times a character appears in string array

    Where are you checking whether something is equal to 'A'?
  23. Replies
    2
    Views
    164

    Re: How software controls machines

    Shameless self-promotion: I wrote a little tutorial on exactly this, available here: What Is Programming - Static Void Games
  24. Replies
    5
    Views
    87

    Re: convert input name to number

    Okay, and what have you got so far? Where exactly are you stuck? What exactly are you confused about?
  25. Replies
    4
    Views
    103

    Re: Hi, What wrong with my code?

    That's a great first step. Can you edit your post to include the code tags?
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4