Search:

Type: Posts; User: Mr.777

Search: Search took 0.07 seconds.

  1. Replies
    10
    Views
    2,947

    Re: Help With Java Homework: Set Operations

    1. Initialize your string with null.
    2. After getting first input and coming inside the loop, first change your integer to string and then get the other value and continue concatnating till the end....
  2. Replies
    10
    Views
    2,947

    Re: Help With Java Homework: Set Operations

    I can understand that how much problems are there for newbie. But you need to get rid of these troubles by browsing, learning, making mistakes and then you will be able to learn.
  3. Replies
    10
    Views
    2,947

    Re: Help With Java Homework: Set Operations

    If you are separating each integer into a string with any special character then you may simply use nextInt() of Scanner (util.java).
  4. Replies
    10
    Views
    2,947

    Re: Help With Java Homework: Set Operations

    1. Code tags please.
    2. Indentation please.
    3. So, now you have all integers as a string concatenated to each other. You can simply extract individual integer and compare it with the other string,...
Results 1 to 4 of 4