• Post Reply Bookmark Topic Watch Topic
  • New Topic

Assignment Say Questions

 
Nath Maniedeo
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.) ( "make this array a constant" )

Hi, I don't recall reading about a constant for this assignment on Java
Ranch...but from my other readings...is this using a key word 'final'?

2.) "use an algorithm (logic)" This means a calculation correct?

thanks for the time and help.

Nath
 
Marilyn de Queiroz
Sheriff
Posts: 9079
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A constant in Java is static final.

A calculation usually involves numbers like 2 + 2 = 4. But in this case you don't really need to add, subtract or multiply. You may need to do some calculation for this assignment. It depends on your approach.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!