Question

When learning how to develop code for methods what skill should i obtain when wanting to...

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.

Homework Answers

Answer #1

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.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
JAVA Learning Objectives: To be able to code a class structure with appropriate attributes and methods....
JAVA Learning Objectives: To be able to code a class structure with appropriate attributes and methods. To demonstrate the concept of inheritance. To be able to create different objects and use both default and overloaded constructors. Practice using encapsulation (setters and getters) and the toString method. Create a set of classes for various types of video content (TvShows, Movies, MiniSeries). Write a super or parent class that contains common attributes and subclasses with unique attributes for each class. Make sure...
Here is a bit of Java code: Thing t = new Thing(); t.method( (int i)-> i...
Here is a bit of Java code: Thing t = new Thing(); t.method( (int i)-> i + 1 ); Here is a skeleton for class Thing: class Thing { public interface Mystery { ????? } public void method( Mystery param ) { // body of method omitted } } Which text below would work where ????? is given above: a) void method( int i ); b) int method( int i ); c) abstract int method( int i ); d) abstract...
Please answer all the questions for the two learning exercises listed below. Answers should be thorough...
Please answer all the questions for the two learning exercises listed below. Answers should be thorough and complete for each question. Please write your responses in a word document for submission and use the APA format as a guideline. Double space and use a 12 point font. The combined responses should consist of at least two pages of discussion for the combined questions and topics. Use the following information to support you in completing this assignment correctly. Learning Exercise 1-...
Take the Java program Pretty.java and convert it to the equivalent C program. You can use...
Take the Java program Pretty.java and convert it to the equivalent C program. You can use the file in.txt as sample input for your program. import java.io.*; import java.util.*; public class Pretty { public static final int LINE_SIZE = 50; public static void main(String[] parms) { String inputLine; int position = 1; Scanner fileIn = new Scanner(System.in); while (fileIn.hasNextLine()) { inputLine = fileIn.nextLine(); if (inputLine.equals("")) { if (position > 1) { System.out.println(); } System.out.println(); position = 1; } else {...
You should now explore and document the following: 1. How can I watch a variable changing?...
You should now explore and document the following: 1. How can I watch a variable changing? 2. How can I watch the special function registers (SFR)? What does the program counter do when I step through my program? How does this relate to the program memory? 3. How does my C-code translate into assembly code? Can I simulate assembly commands? 4. Set the simulator to 16MHz (Project Properties -> Simulator) and use the Stopwatch to measure how long it takes...
When given NPV, I have trouble understanding how IRR functions. I read some materials online, it...
When given NPV, I have trouble understanding how IRR functions. I read some materials online, it mentioned that the IRR (which is the discount rate) that makes NPV goes 0. Hence, for example: Year 0 1 2 3 4 Present Value (900) 247.72 282.78 366.06 17.77 NPV = 9.32 I understand we can use IRR function in excel, however, when I want to do it in an trial end error method, what formula should I insert my "guess" rate? Kindly...
Re word this reflection essay and include more studies on creativity in it. What have I...
Re word this reflection essay and include more studies on creativity in it. What have I Learned? I have learned how to use my brain better, to organize my thinking process in a way to facilitate my perceptions, creativity and innovative thinking methods in a more effective manner. I learned many ideas and findings on how human brain function. For example, according to Tony Buzan, the brain thinks in two ways: association or explosion method. I learned that to change...
AHW2) Hello I have an agile software development methodology that is proposed by the combining the...
AHW2) Hello I have an agile software development methodology that is proposed by the combining the two other agile development methodologies, my question is how can I draw its process model that describe it entirely(as drawing graphs). The description of the new proposed methodology is given below: 1. The new Agile methodology is "Feature and Test Driven Development". 2. Feature Driven Development (FDD) is an iterative and incremental Agile methods for developing software. This is client centric pragmatic Software process....
A comprehensive employee appraisal is often made up of several different methods of performance evaluation. You...
A comprehensive employee appraisal is often made up of several different methods of performance evaluation. You can choose to use just one evaluation process when judging an employee's performance, but when you use multiple evaluation methods you are able to get a broader picture of the areas where the employee needs improvement and what recommendations you should make to support employee development. Self-Evaluation The self-evaluation is often effective when teamed up with a performance review. The employee is asked to...
I post this question twice, please don't answer this post if you already answer the other...
I post this question twice, please don't answer this post if you already answer the other one, if you can answer different answer that's fine. REASON WHY I POST IT TWICE, I NEED TWO DIFFERENT VIEW. Discussion Hi All - this week you will learn about DNA - the molecule of life! You may think that protein-coding genes are the most important, but results from the Human Genome Project revealed that only about 2% of our DNA codes for protein...