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...
Type: Posts; User: Zaki
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...
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.....