User Profile

Collapse

Profile Sidebar

Collapse
majik1213
majik1213
Last Activity: Sep 14 '07, 11:54 PM
Joined: Sep 11 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • majik1213
    replied to Strings
    in Java
    you are a saint, my friend...
    See more | Go to post

    Leave a comment:


  • majik1213
    started a topic Strings
    in Java

    Strings

    could someone please help me figure out why the console will display only 0 but never 455555?

    Code:
    public class Test
    {
        public static void main(String[] args)
        {
            String testString = "0";
    if (testString.equals("0"))
        {
            String okay=testString.replace("0", "455555");
         }   
            int test = new Integer("+okay+");
    ...
    See more | Go to post

  • majik1213
    replied to Please don't be mean! Amateur question!
    in Java
    WOW THANKS!!!!!!!!! !!!!!!!!!!!!!!! !!!!!!!!!!...
    See more | Go to post

    Leave a comment:


  • majik1213
    started a topic Please don't be mean! Amateur question!
    in Java

    Please don't be mean! Amateur question!

    Greetings!
    I'm taking a Java course and I'm working on a *simple* program and have run into a rut that I hope you can help me resolve! This program basically asks you what month you were born and then, for the purposes of a future calculation, it converts the month you type into an integer value for that month (e.g. December->12). But this step is what I cannot perform. Here is the portion of the code in question, any suggestions?...
    See more | Go to post
No activity results to display
Show More
Working...