1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Levart [38]
4 years ago
10

Write a method that will receive 2 numbers as parameters and will return a string containing the pattern based on those two numb

ers. Take into consideration that the numbers may not be in the right order.
Note that the method will not print the pattern but return the string containing it instead. The main method (already coded) will be printing the string returned by the method.

Remember that you can declare an empty string variable and concatenate everything you want to it.

As an example, if the user inputs "2 5"

The output should be:

2
3 3
4 4 4
5 5 5 5
Computers and Technology
1 answer:
Kipish [7]4 years ago
5 0

Answer:

The purpose of the Java compiler is to translate source code into instructions  public static void main(String[] args)  Arity is the number of arguments passed to a constructor or method or the number ... and objects, which are the focus of object-based programs.  Remove the 2 from between the square brackets to make.

Explanation:

You might be interested in
VLSI is the process of creating an integrated circuit (IC) by combing thousands of transistors into a single chip. There are two
STatiana [176]

Answer:

The process of choosing IC technology depends upon some factors that are as follows:

  • Size of Image
  • Size of Database
  • Transformation method complexity
  • Task after Transformation step

So, by considering the given scenario, first one will be chose that is FPGA.

FPGA stands for Field Programmable Gate Array. It is preferred because it has short design cycle. Moreover while prototyping in FPGA, development kits are present which add a lot to help.

A satisfied amount of speed, power consumption and area requirements are provided by Field Programmable Gate Array FPGA.

<h2>I hope it will help you!</h2>

6 0
4 years ago
To ensure rapid recovery and security of data, backup data should be ________.
Nataly [62]

Answer:B kept at a secure location at the facility

Explanation:

8 0
3 years ago
What are the answers for edhesive quiz 2? I can’t add more than 1 photo...
KatRina [158]

Answer:

i have no idea srry

Explanation:

hi

7 0
3 years ago
Which of the following statement is true?
Alexxx [7]

Answer:

b. the IP address can be spoofed, so if you want to read response from the deceived party, you can use IP spoofing to hide yourself.

Explanation:

3 0
3 years ago
Write a method that draws a circle and a square that is centered in a DrawingPanel. The method will take in the width and height
Katarina [22]

Answer:

public static void drawGraphics (Graphics g, int width, int height) {

   int r = Math.round(width/2);

   int x = 45;

   int y = 30;

     g.setColor(Color.RED);

   g.fillRect(x, y, width, height);

   g.setColor(Color.BLUE);

   g.fillOval(Math.round(x/2), Math.round(y/2), r, r);

}

Explanation:

The Java method "drawGraphics" of the Graphics class accepts draws a square with the "fillRect()" method of the Graphics class object and at its center, a circular path is drawn as well.

3 0
3 years ago
Other questions:
  • Joe wants to use an engaging image as a hook in his presentation , but he’s afraid of violating any copyright law. What should h
    10·1 answer
  • Read the sentence from the first paragraph of Silent
    6·2 answers
  • You are using a wireless client adapter with a site survey utility and a notebook computer to perform a manual site survey in a
    7·1 answer
  • What is Geocortex and how does it work in web or mobile?
    11·1 answer
  • Michelle has developed a new program for computers. She later fixed an error found in the program. What is the best way for her
    5·1 answer
  • Write a program to prompt the user to enter a fist name, last name, student ID and GPA. Create a dictionary called Student1 with
    8·1 answer
  • NEED IT ASAP. Jack is an accountant. He cant access the spreadsheet software, which is installed on the server. what should jack
    13·1 answer
  • While using a web-based order form, an attacker enters an unusually large value in the Quantity field. The value he or she enter
    15·1 answer
  • Help<br> pls need quickly
    9·1 answer
  • What is the best definition of inflation?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!