Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Craig Daniels   on Dec 01 In Java Category.

  
Question Answered By: Randy Warren   on Dec 01

In Java, const  variables are called final variables.

But, using the right get() methods, no one should ever be able to
access your private variables, so I haven't seen final being used
that much. Of course, I'm relatively new to Java, so I don't know
that much anyway. ;)

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on returning const Or get search suggestion and latest updates.


Tagged: