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
Digiron [165]
4 years ago
11

How to set the maximum to 10? Java

Computers and Technology
1 answer:
hichkok12 [17]4 years ago
6 0
Public int setLimit(parameter) {
if (parameter > 10) {
return 10;
} else {
return parameter;
}
}
You might be interested in
LOOK TO THE LEFT AND RIGHT BEFORE ENTERING ANY INTERSECTION ON A GREEN LIGHT BECAUSE:
AleksandrR [38]
The answer is A. D could be true, but if you have green, they would have a red hand, and not right-of-way
7 0
4 years ago
Read 2 more answers
What ribbon command on the home tab can you use to change a cell fill color automatically
vlada-n [284]

Conditional Formatting is the ribbon command on the home tab that one can use to change a cell fill color automatically based on the value of the cell.

The Conditional Formatting on the home tab are used to change the cells fill color based on the value of the cell.

Hence, the conditional Formatting is the ribbon command on the home tab that one can use to change a cell fill color automatically based on the value of the cell.

Read more about conditional Formatting

<em>brainly.com/question/25051360</em>

6 0
3 years ago
Read 2 more answers
Is a program that hides in a computer or mobile device and allows someone from a remote location to take full control of the com
antoniya [11.8K]
Yes there are such programs/viruses.

5 0
4 years ago
What is the output of this program?
anastassius [24]
The output of this program would be letter b (numB=3) because square 2 equals 82 squares and then you get three
3 0
3 years ago
Read 2 more answers
How to fix 500 internal server error youtube?
DedPeter [7]
Just shut everything down.

Hope this was helpful :) 
5 0
3 years ago
Read 2 more answers
Other questions:
  • What is the wave speed of a wave that has a frequency of 100 Hz and a wavelength of 0.30m?
    5·1 answer
  • Which command displays the status of the ipsec installation?
    7·1 answer
  • The development team recently moved a new application into production for the accounting department. After this occurred, the Ch
    7·1 answer
  • which tab in the AutoCorrect dialog box enables you to specify that the corrections will automatically take place only when you
    5·2 answers
  • The three tasks within data harmonization, namely: data consolidation, data cleansing, and data formatting use techniques called
    8·1 answer
  • write a program that first asks the user to enter three real numbers using GUI input. Print the sum if all three numbers are pos
    7·1 answer
  • John works as an associate at a construction company. His job is to draft contracts for suppliers. Before he prints the contract
    7·1 answer
  • How is “compromise" defined in the context of information technology and Select one answer.
    5·2 answers
  • Create the following new exceptions: PokemonException, which extends the Exception class. It must have a no-parameter constructo
    13·1 answer
  • How does segmenting your network increase network security?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!