Search:

Type: Posts; User: youngstorm

Search: Search took 0.17 seconds.

  1. Replies
    2
    Views
    190

    Re: Flatform Independent

    The JVM is not platform independent. This is because it take Java byte code and translates it into code that will run on a specific chip. This means that a specific JVM is "tied to" a specific chip. ...
  2. Thread: Switch

    by youngstorm
    Replies
    10
    Views
    281

    Re: Switch

    sorry, wish I could do more for you.
  3. Thread: Switch

    by youngstorm
    Replies
    10
    Views
    281

    Re: Switch

    Why isn't it coloring your code I wonder?
    I know sometimes if emacs colors code funny, it CAN mean something is up with the code.
    But that does not make sense because it works for me.
    Im sorry, Im...
  4. Thread: Switch

    by youngstorm
    Replies
    10
    Views
    281

    Re: Switch

    I think u have included all relevant code.
    the only thing I see really different is I did import java.util.*;
    try that.


    heres my "equivalent" code.


    import java.io.*;
    import java.util.*;
  5. Thread: Switch

    by youngstorm
    Replies
    10
    Views
    281

    Re: Switch

    hummm......it works for me
    can u please show the class declaration and imports your using?
  6. Thread: Switch

    by youngstorm
    Replies
    10
    Views
    281

    Re: Switch

    your switch has (choice/6)
    I think what you want is just switch(choice)
    remember the / will return whole numbers not remainder
    so when u enter 6....6/6 = 1
  7. Replies
    5
    Views
    475

    [SOLVED] Re: returning null instead of int

    Thanks again. :)
  8. Replies
    5
    Views
    475

    [SOLVED] Re: returning null instead of int

    Thanks to both of you for your help. This is the info I was looking for. Also, glad to know about the wrapper classes, that will do what I was hoping to do. Again, no special reason; I'm just playing...
  9. Replies
    5
    Views
    475

    [SOLVED] returning null instead of int

    Hi,
    I have the following code. The point is to test returns.



    public class objects
    {
    public static void main(String[]args)
    {
    int x = 0;
  10. Replies
    4
    Views
    670

    Re: Controlling individual threads

    Thanks. I'll do that and have some already.
  11. Replies
    4
    Views
    670

    Re: Controlling individual threads

    Thank you for taking the time to respond.


    How do I go about properly using these methods?


    I;m not sure I really understand this part, as it relates to threads. If I move the thread...
  12. Replies
    4
    Views
    670

    Controlling individual threads

    Hi, I am new to threads and have made a test program. The code is short. I am trying to control each thread. I am not sure if my method is right. Can someone please help? I can not find the answer in...
Results 1 to 12 of 12