Search:

Type: Posts; User: shervan_360

Search: Search took 0.36 seconds.

  1. Replies
    6
    Views
    281

    Re: Problem with byte and short data type

    Thank you and solved my problem.
    number((byte)2,(long)8L,(double)2d,(short)32,(short)2)
  2. Replies
    6
    Views
    281

    Re: Problem with byte and short data type

    Thank you,

    Yes,
    Byte (age) is : 19
    Short (codeTelephone) is :373
    Short (factorPlastic) is: 28337



    import java.util.*;
  3. Replies
    6
    Views
    281

    Re: Problem with byte and short data type

    Thank you,

    But why should we cast to int? I want to use byte and short.

    Method call is:
    number(19,52608968L,2828282d,373,28337);
  4. Replies
    6
    Views
    281

    Problem with byte and short data type

    Hello,

    When I use byte and short for number method, I have an error. (when I change byte to int and short to int, the problem was fixed)

    Thanks


    Image:
    https://ibb.co/ZWY0QSq
  5. Replies
    5
    Views
    253

    Re: JAVA - Get array of String from input

    I reffered to the introduced link
    The problem is solved with your guidance.

    Thanks
  6. Replies
    5
    Views
    253

    Re: JAVA - Get array of String from input

    Here you are

    https://imgur.com/PYg4N0j
  7. Replies
    5
    Views
    253

    JAVA - Get array of String from input

    Hello,

    First element (Zero element) in myString array always is null. Why?
    Thanks



    import java.util.*;
  8. Replies
    2
    Views
    444

    Re: Enable attachment in forum

    Hello, Please enable photo attachment.(Manage attachment option in forum)
    I want to attach a photo for debugging java program.
    Thanks

    --- Update ---

    I have to upload the photo elsewhere and...
  9. Replies
    1
    Views
    215

    Input Mismatch Exception

    Hello,

    What's the problem?

    Thanks

    http://s6.uplod.ir/i/00982/etg440opmyyx.jpg
  10. Re: JAVA - Swap two string in a method without built-in functions

    Yes, swap is not built-in method. now how can I fix it? because in JAVA we don't have reference type and String is immutable.
    How can I swap two string in that method?

    Thanks
  11. JAVA - Swap two string in a method without built-in functions

    Hello,

    I want to swap two string in JAVA without built-in function like this.
    How can I fix it?

    Thanks


    import java.util.*;
Results 1 to 11 of 11