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...
This must be answered not advance methods, focusing on String method. We are working on Ch...
This must be answered not advance methods, focusing on String method. We are working on Ch 9 in Think Java 1st Ed.I need the program to be bare bones and the coding need to be done the long way with no advanced code. in this lab you will have two methods with headings: - public static int countNumberSigns(String tweetText) - public static int countHashtags(String tweetText) 'String tweetText' means the method is expectiong a string value as an input to it....
Write a program that reads a file named input.txt and writes a file that contains the...
Write a program that reads a file named input.txt and writes a file that contains the same contents, but is named output.txt. The input file will contain more than one line when I test this. Do not use a path name when opening these files. This means the files should be located in the top level folder of the project. Do not use a copy method that is supplied by Java. Your program must read the file line by line...
What would the pseudocode be for this? The code for this has already been answered. I...
What would the pseudocode be for this? The code for this has already been answered. I need the pseudocode. Credit card numbers typically consist of 13, 15, or 16 digits. For example, 4690 3582 1375 4657 is a hypothetical credit card number. The first digit designates the system. In (3.1.1), the first digit, 4, shows that the card would be a Visa card. The following digits specify other information such as the account number and bank number. (The precise meaning...
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-...
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...
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...
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 {...
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...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT