Type: Posts; User: Zaki

Search: Search took 0.16 seconds.

  1. Thread: help me please..

    by Zaki

    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. 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(
  3. Help! have no idea what's wrong with my code..

    I got this error :

    at java.lang.String.charAt(
    at University_Apartment.main(
    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