Search:

Type: Posts; User: shia

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    2,080

    Re: Simple curency convertor

    Formatter (Java Platform SE 6)
  2. Replies
    7
    Views
    1,992

    Re: database for use in java

    Can you afford Oracle? If not go with MySQL or Postgres or DB4O etc.
  3. Re: Help with ArrayList ( Adding certain elements together)

    See Integer (Java Platform SE 7 )
  4. Replies
    3
    Views
    1,223

    Re: Hello. I'm all new to Java.

    Hello Anders,

    Here is probably the best place for you to start: The Java™ Tutorials

    This is arguably the best book to learn from:...
  5. Replies
    12
    Views
    2,554

    Re: automatically detect hyperlinks

    http://download.oracle.com/javase/1,5.0/docs/api/java/lang/String.html#contains%28java.lang.CharSequence%29
  6. Replies
    12
    Views
    2,554

    Re: automatically detect hyperlinks

    Can't you just check if the String contains "http://" and then do whatever it is you want to do with it based on that?
  7. Re: else if - else if - else if... Goes Straight To Final else

    You could try putting the array values into an enum instead of an ArrayList, this would then enable you to use a switch statement on the values (I think) rather than all those if statements.

    Let...
  8. Replies
    6
    Views
    5,785

    Re: Java Poster : Quick Reference guide.

    Java Quick Reference (Cheat Sheet) - Java Tutorials | Dream.In.Code

    It was the second google hit for "Java Quick Reference". :)
  9. Re: What are HashCode and equals in Java and thay are implement in java?

    You will find the answers in the Java 6 API Documentation.

    Look up the Method Summary for java.lang.Object
  10. Re: else if - else if - else if... Goes Straight To Final else

    You are welcome.
  11. Thread: SkroefAudio

    by shia
    Replies
    3
    Views
    965

    Re: SkroefAudio

    I'm new to Java development too (Just two week of learning so far).

    I can heartily recommend the book Head First Java if you find your library books aren't what you need.
  12. Thread: Array List

    by shia
    Replies
    6
    Views
    1,853

    Re: Array List

    Are you aware of the book Head First Java?

    It teaches the use of ArrayList instead Array even in cases where you already know the order and number of items.
  13. Re: else if - else if - else if... Goes Straight To Final else

    When you have time could you please let me know what these errors are, it would be very helpful for me.

    Again, when you have time could you show me why my use of an ArrayList is poor in this case....
  14. Re: else if - else if - else if... Goes Straight To Final else

    I wasn't aware of the spoon feeding rule.

    I'm new to Java myself, can you tell me what is wrong with my code?
  15. Thread: Array List

    by shia
    Replies
    6
    Views
    1,853

    Re: Array List

    Take a look at my post in the following thread to see an example of how to use an ArrayList. Compare it with the code in the first post of that thread where a simple array is used.
    ...
  16. Replies
    3
    Views
    5,637

    Re: Use of Integer.parseInt

    The String array "arguments" is in the first line of the code. It holds any command line arguments in a String array.

    public static void main(String[] arguments) {


    The variable "year" may be...
  17. Re: else if - else if - else if... Goes Straight To Final else

    import java.util.Scanner;
    import java.util.ArrayList;

    class aberAccomm {
    public static void main(String[] args) {
    int fromGideon = 6008;
    int cost = 0;

    ...
  18. Thread: Hello

    by shia
    Replies
    2
    Views
    833

    Re: Hello

    Thank you for the welcome. :)
  19. Thread: Hello

    by shia
    Replies
    2
    Views
    833

    Hello

    Hello everyone,

    I am just starting to learn Java and so far am enjoying it.

    I am learning from the book "Head First Java: 2nd Edition" published by O'Reilly. I also have bought "The Java...
Results 1 to 19 of 19