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
EastWind [94]
1 year ago
9

a value-returning method must specify as its return type in the method header. question 18 options: a) an int b) a double c) a b

oolean d) any valid data type
Computers and Technology
1 answer:
Olenka [21]1 year ago
5 0

An int must be specified in the method header as the return type for a value-returning method

<h3>What is an int?</h3>

A whole number that can be positive, negative, or zero is called an integer. It is not a fraction. -5, 1, 5, 8, 97, and 3, 043 are some examples of integers. 1.43, 1 3/4, and 3.14 are a few examples of numbers that are not integers.

The compiler includes a fundamental variable type called int, which stands for "integer" and is used to define numeric variables that carry entire integers. Float and double are additional data types.

A basic data type is the Java int keyword. Declaring variables is done using it. Additionally, it can be used with methods that return values of the integer type. It is capable of storing a 32-bit signed, two's complement integer. In the Internet's Domain Name System, the domain name int is a sponsored top-level domain.

To learn more about an int refer to:

brainly.com/question/27415982

#SPJ4

You might be interested in
What is a valid response when identity theft occurs
Alexxandr [17]

Answer:

Unsecure Passwords

4 0
3 years ago
Match the context details with the pattern that applies.
tia_tia [17]

Answer:

1. - Observer

2. - iterator

3. - strategy

4. - composite

5. - decorator

Explanation:

An object contains other objects (elements) and must give access to them for clients, without exposing its internal structure. This is an observation.

The subject-object can generate events as an iterable (iterator) and could use different strategic algorithms to achieve a task. Class objects can be used to aggregate other class objects.

In python, the decorator function mimics the outer function of a nested function, but still maintains the functionality of the second function

6 0
3 years ago
A ________ allows users to add, remove, or edit its content. Select one: A. blog B. podcast C. wiki D. chat
riadik2000 [5.3K]

Answer: C) wiki

Explanation:

Wiki is defined as website that is used for updating, adding, eliminating and other editing activities with the help of web browser.This mechanism is a quick technique for modifying content by visitors of the website.Example-Wikipedia etc.

  • Other options are incorrect because blog, chat and podcast are not used for manipulation of content present on site through features of adding ,editing etc.
  • Thus, the correct option is option(C).
7 0
4 years ago
John would like to move from the city into the suburbs and has been saving up a large down payment for a home. Which is the most
fenix001 [56]
I there any answer choices ?


5 0
4 years ago
Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integer
Gre4nikov [31]

Answer:

The program in Python is as follows:

num = int(input())

numList = []

for i in range(num+1):

   numInput = int(input())

   numList.append(numInput)

for i in range(len(numList)-1):

   if numList[i] <= numList[-1]:

       print(numList[i],end=" ")

Explanation:

This gets input for the number of integers

num = int(input())

This initializes an empty list

numList = []

This iterates through the number of integers and gets input for each

for i in range(num+1):

   numInput = int(input())

The inputs including the threshold are appended to the list

   numList.append(numInput)

This iterates through the list

for i in range(len(numList)-1):

All inputs less than or equal to the threshold are printed

   if numList[i] <= numList[-1]:

       print(numList[i],end=" ")

7 0
3 years ago
Other questions:
  • What observational data required the revision of the early geocentric model?
    5·1 answer
  • Create a short document titled "Guide to web searches" that Sergio can give to users of the facility he supervises. The document
    7·1 answer
  • Filtering removes data from the spreadsheet. A. True B. False
    9·2 answers
  • You are considering creating a mobile app. Describe a basic statement for the app you would create and whether your app should b
    7·1 answer
  • So lets see what you know...Write me a short code and include a detailed explanation of the language used and what the out come
    7·1 answer
  • Create a method called fixArray(int[][] array, int row, int col, int value) that sets the [row][column] to the correct value. Th
    5·1 answer
  • solve this simple question 1) Let S = {a, bb, bab, abaab} be a set of strings. Are abbabaabab and baabbbabbaabb in S*? Does any
    8·1 answer
  • Displays information a bout drivers, network connections, and other program-related details.
    6·1 answer
  • Which three statements are true of lossless compression?
    6·1 answer
  • Accessibility is the degree to which a product or service is readily available and usable by _____.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!