•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 456,526 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,807 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1925 | Replies: 3
![]() |
static final int ROW_SIZE = 10;
static final int COL_SIZE;
You are declaring ROW_SIZE AND COL_SIZE as final ....
when a variable is declared as final ... its value cant be changed at any stage of the program. And you are changing the values of both .. so it wont compile.
static final int COL_SIZE;
You are declaring ROW_SIZE AND COL_SIZE as final ....
when a variable is declared as final ... its value cant be changed at any stage of the program. And you are changing the values of both .. so it wont compile.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Developing SQL Server 2000 (MS SQL)
- asl (Geeks' Lounge)
- Do you get a chance to enjoy your community? (Growing an Online Community)
- Can't get samba to work! (*nix Software)
- Visual Basic.net (VB.NET)
- HELP (*nix Software)
Other Threads in the Java Forum
- Previous Thread: Talking with the hardware
- Next Thread: code repeatedly 2 ask user 4 a password until correct (=Java) but cant c wots wrong.



Linear Mode