We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
This question was written poorly. Leave out the explanation to what annotations are; this is a test not a lesson. The whole code should have been written by the user and not just highlighted lines. And one should not have to infer from the sample input and ouput what certain values are (budgetLimit - 100 for senior and 50 for junior).
You obviously don't understand my comment. I did not say I was incapable of solving the question. In fact I have solved the question. I was merely stating that the question is written poorly (as are much of the questions on this site) and should be considered for refactoring.
Annotations are a overly complex, unclear part of Java (these words is not for those people who learn by heart in whole parts of the text without dissection). This complexity makes the annotation part of Java is overly unpleasant in learning.
The conditions of this challenge are good: 1) simple and clear explanation in beginning, 2) most of the program written (this is good: more tutoring and less suffering). But I have been some suffering from uncertainty of the conditions in the values of budgetLimit too, chrynan: this is a good subchallenge, but lacks a little clarification: "I offer to guess about the values for budgetLimit from the problem statement."
Java Annotations
You are viewing a single comment's thread. Return to all comments →
This question was written poorly. Leave out the explanation to what annotations are; this is a test not a lesson. The whole code should have been written by the user and not just highlighted lines. And one should not have to infer from the sample input and ouput what certain values are (budgetLimit - 100 for senior and 50 for junior).
You obviously don't understand my comment. I did not say I was incapable of solving the question. In fact I have solved the question. I was merely stating that the question is written poorly (as are much of the questions on this site) and should be considered for refactoring.
here is problem solution in java programming. https://programs.programmingoneonone.com/2021/02/hackerrank-java-annotations-solution.html
updated solution is here
https://www.thecscience.com/2021/05/HackerRank-java-annotations-problem-solution.html
Annotations are a overly complex, unclear part of Java (these words is not for those people who learn by heart in whole parts of the text without dissection). This complexity makes the annotation part of Java is overly unpleasant in learning. The conditions of this challenge are good: 1) simple and clear explanation in beginning, 2) most of the program written (this is good: more tutoring and less suffering). But I have been some suffering from uncertainty of the conditions in the values of budgetLimit too, chrynan: this is a good subchallenge, but lacks a little clarification: "I offer to guess about the values for budgetLimit from the problem statement."
Thanks...for clearing my doubt
Thank you.. that helped me alot
I totally agree