Search:

Type: Posts; User: Zaki

Search: Search took 0.10 seconds.

  1. Thread: help me please..

    by Zaki
    Replies
    3
    Views
    989

    help me please..

    anybody know what's wrong with my code start from this part:

    if (roomNumber == 1){
    if (HouseA1[roomNumber-1] < 2) {
    HouseA1 [roomNumber-1] += 1;


    why i can't book a room again in the that...
  2. Replies
    3
    Views
    1,285

    Re: Help! have no idea what's wrong with my code..

    i run it on NetBean, and this the error:

    Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(String.java:658)
    at...
  3. Replies
    3
    Views
    1,285

    Help! have no idea what's wrong with my code..

    I got this error :

    at java.lang.String.charAt(String.java:658)
    at University_Apartment.main(University_Apartment.java:54)
    Java Result: 1

    when I choose the house number in my program.....
  4. Need HELP! Illegal start of expression & while expected..

    I have no idea what's the mistake,
    Its say illegal start of expression & while expected at the end of the code..

    Any help will be much appreciated.. :)





    import java.text.*;
Results 1 to 4 of 4