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
harkovskaia [24]
4 years ago
8

Declaring a variable in the method’s body with the same name as a parameter variable in the method header is ___________.

Computers and Technology
1 answer:
icang [17]4 years ago
8 0

Answer:

a. a syntax error

Explanation:

When the same variable name is repeated in the parameter set and the method body, it will result in a syntax error. This is because the variable in the parameter has a local scope within the method body. Now if we declare another variable with the same name in the method body, it will result in redefinition of the variable and violate the uniqueness principle of variable names in the method code. This will give rise to syntax error.

You might be interested in
3.12 LAB: Output range with increment of 5 Write a program whose input is two integers, and whose output is the first integer an
Zinaida [17]

The INPUT code of the given programme in Java would be as given below:

In this first we are taking input of two integers j and k from the user and then performing the required operations over it

import java.util.

Scanner;  public class LabProgram {    

public static void main(String[ ] args) {  

Scanner scnr = new Scanner(System.in);        

 int i,j;        

 i  = scnr.nextInt();        

 j = scnr.nextInt();        

if(i<=j) {            

int k = i;            

while (k <= j) {                

System.out.print(k + " ");                

 k = k + 5;            

 }            

 System.out.println();        

 }        

 else{            

 System.out.println("Second integer can't be less than first.");                  

}    

}

}  

Learn more about Java Programming here:

brainly.com/question/18554491

#SPJ10

8 0
2 years ago
What is the objective of Accenture‘s e-stewards program
Flura [38]

Accenture is a company that was established with the aim of handling electronic waste. They were very much concern about how electronic waste is being disposed and as such they try to create ways to handle it. The e-stewards program was set up with the sole aim of management of electronic waste. its objectives includes;

  1. Make strategic and better world through well managed recycling solution to all electronic waste (e-waste) issues.
  2. The program also focus on making sure that electronic waste are been handled properly and they are not dumping of electronic waste in poor countries
  3. The objective also centers around no export of harmful electronic wastes.
  4. They also capitalizes on reuse and resale
  5. They are not only interested in stopping e-waste but to channeled it to repair, republish and re-manufacture

For better understanding, lets explain what E-waste means

  • E-Steward objective is centered on managing and handling of electronic waste. It was a project that was birth out of rising concern about electronic waste, especially due to rising concerns that electronic waste generated by rich countries was being shipped off to poor countries.

  • Accenture e-steward make sure that electronic waste are well disposed, no more shipping of electronic waste to poor countries and also recycling of electronic waste product.

  • E-waste in the above simply means non functional or disposed electronic equipment such as computers, cell phones, television sets, etc.

From the above, we can therefore say that the e-stewards program is concerns about how electronic waste generated by rich countries was being shipped off to poor countries and also the recycling of electronic waste product such as television, computers etc.

Learn more about E-waste from:

brainly.com/question/15391967

8 0
2 years ago
Which of the selections below is not a benefit of imaging the computers on your network? There are fewer licensing fees because
Stella [2.4K]
Among the selections, the statement that is not a benefit of imaging the computers on your network is: It helps to lessen the impact of spyware on the network. 
The area that studies covering digital images - images that can be stored on a computer like bit-mapped images is called Computer imaging or digital imaging. 
8 0
3 years ago
Type the correct answer in the box. Spell all words correctly.
Tom [10]

Answer:

navigate keys

Explanation:

the up and down keys are to scroll through documents and pages.

8 0
4 years ago
Read 2 more answers
(Game Design) The display of all of the properties for an active object is the:
Andre45 [30]

Yes the ansewer is c bc you can look it up!


5 0
3 years ago
Other questions:
  • Race conditions are possible in many computer systems. Consider a banking system with two methods: deposit(amount) and withdraw(
    14·1 answer
  • (Microsoft excel) The data selected to create a table must include
    6·2 answers
  • ShellShock had the potential for an unauthorized user to gain access to a server. It affected many internet-facing services, whi
    11·1 answer
  • What is the correct method to use Dreamweaver to find broken links and orphaned files?
    15·1 answer
  • The carbon-14 isotope is important because it allows scientists to determine the ___________ of an organic sample.
    14·1 answer
  • Create a program in c/c++ which accepts user input of a decimal number in the range of 1 -100. Each binary bit of this number wi
    9·1 answer
  • 1. What does a network allow computers to share?
    13·1 answer
  • In this lab, your task is to complete the following: Enable all of the necessary ports on each networking device that will allow
    9·1 answer
  • In a multiple-column record of a data file, ______ represent different variables and _______ represent different cases
    15·1 answer
  • 2.Explain the differences between kernel applications of the OS and the applications installed by an organization or user.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!