Search:

Type: Posts; User: Kikiam

Search: Search took 0.09 seconds.

  1. Replies
    13
    Views
    1,512

    Re: Switch Case Problem help

    Ok I somehow got it, thanks for the help Norm! :)
  2. Replies
    13
    Views
    1,512

    Re: Switch Case Problem help

    Sorry I don't really know what to do, can you show it to me visually?

    In my view, you're saying that it should look like this?



    public String getPosition(char em){

    switch(em){...
  3. Replies
    13
    Views
    1,512

    Re: Switch Case Problem help

    To be honest, I have no idea

    I'm still learning, so how do I exactly convert the code letter into a string?
  4. Replies
    13
    Views
    1,512

    Re: Switch Case Problem help

    Yes I do, how would I not return its argument?
  5. Replies
    13
    Views
    1,512

    Re: Switch Case Problem help

    oh ok, so this is the current output:

    Employee Name: John Doe
    Employee Number: 515542
    Department Number: 10
    Position: M
    Years of Experience: 2
    Salary: 0.0
  6. Replies
    13
    Views
    1,512

    Re: Switch Case Problem help

    This is the program output:


    Employee Name: John Doe
    Employee Number: 515542
    Department Number: 10
    Position: M
    Years of Experience: 2
    Salary: 0.0
  7. Replies
    13
    Views
    1,512

    Switch Case Problem help

    Hi I'm fairly new to java, so please don't laugh at me for posting a stupid question.

    As you can see on the code, I have created an Employee class, the constructors are set okay, and the print...
  8. Replies
    2
    Views
    1,099

    >>> Java Noob here

    Hello everyone, I'm a beginner at java and I'm here to learn! :)

    I hope that you you can help me out with my java programming problems, and I would probably help you back if I have mastered it.
    ...
Results 1 to 8 of 8