When learning how to develop code for methods what skill should i obtain when wanting to critically think how to wrtie code based on that method. I understand fundamentals of java coding but i struggle a lot of how to critically think how to write code for methods and projects.
1. Get the in-depth fundamental knowledge of Java Language and OOPS.
2. Analyze what the method or the project wants as end results.
3. Try to obtain a formula or a pattern to compute the desired results by observing the consraints properly and obtaining step-by-step solution for the given constraints and results.
4. Observation is the key. Try to break the problem into smaller problems and then approach the smaller one. Once you get through the smaller ones, generate all possible solutions for the problem and pick the one which results correct according to the bigger problem.
5. Now try combining the solutions of the smaller problems and then obtain the desired results for the whole problem.
Get Answers For Free
Most questions answered within 1 hours.