
Asked in Hitachi and 4 others
Explain the difference between const and readonly.

AnswerBot
1y
Const keyword is used to declare constants at compile time, while read-only keyword is used to create immutable fields that can only be assigned a value at runtime.
Const values are determined at compi...read more
Anonymous
1y
Read-only" and "const" are terms used in programming to indicate that a value or variable cannot be changed. However, their usage can vary depending on the programming language.
In many languages like ...read more
Help your peers!
Add answer anonymously...
Interview Questions from Popular Companies

3.7
• 8.7k Interviews

4.0
• 5.4k Interviews

3.5
• 4.2k Interviews

3.6
• 8k Interviews

3.7
• 5.9k Interviews

3.7
• 6.1k Interviews

3.5
• 4.2k Interviews

3.7
• 5.1k Interviews
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

