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
Darina [25.2K]
3 years ago
13

Assume that the following code exists inside a method of the class MyClass, and that this code compiles without errors: int resu

lt = book.getYearPublished(); where book is an object of the Book class. Which of the following is not true about the getYearPublished method? It is a mutator method. It is a public method in the Book class. It returns a String.
Computers and Technology
2 answers:
german3 years ago
6 0

Answer: The getYearPublished method is not a mutator method nor does it return a string.

DanielleElmas [232]3 years ago
4 0

Answer:

"it returns a string"  is not true about the method.

Explanation:

Since int result = book.getYearPublished() compiles without errors inside a method of the MyClass, "int result " part of the code states that the method returns an integer, not a string. getYearPublished is a mutator method and a public method in the Book class.

You might be interested in
If you were creating a program that would convert Fahrenheit to Celsius, which kind of variable would you want to use? a string
Arlecino [84]

Answer:

an integer because it is the most common form of the atom and the same way it is used to be used to describe the same type of them

5 0
3 years ago
Read 2 more answers
Which of the following can be used to enter or display one complete row of information in a range or table without scrolling hor
Daniel [21]

The one which is used to enter or display one complete row of information in a range or table without scrolling horizontally is database tool.

<h3>What is Microsoft Excel?</h3>

Microsoft Excel is the electronic sheet in which the data can be arranged and saved for the future use. This data in a Microsoft excels arranged in the rows and the column of the Microsoft Excel.

The options given in the problem are,

  • Create-With the help of create tool the, the user can create and control the content.
  • Home-Home menu has many tools to perform different calculations effectively.
  • External Data-The data, which is outside of the sheet, is called the external data.
  • Database Tools-The database tools has the different tools associated with it, to perform the task related to administration. With tool help to enter or display one complete row of information in a range or table without scrolling horizontally is database tool.

The one which is used to enter or display one complete row of information in a range or table without scrolling horizontally is database tool.

Learn more about the Microsoft excel here;

brainly.com/question/1538272

7 0
2 years ago
I need to figure out exactly how to make this figure while coding.
erastova [34]

Answer:

class Main {

 public static void main(String[] args) {

   System.out.println("   _");

   System.out.println(" /   \\");

   System.out.println("|     |");

   System.out.println(" \\ _ /");

 }

}

Explanation:

Backslashes have a special meaning in string literals. You have to escape them with a backslash, hence the double backslash.

7 0
4 years ago
Which of the following statements are true about gravity? Check all that
Maurinko [17]

Answer: E

Explanation: espero q te sirva

3 0
4 years ago
Read 2 more answers
The method __________ sets the font (helvetica, 20-point bold) in component
Stolb23 [73]
The method d) c.setFont(new Font("Helvetica", Font.BOLD, 20)) sets the font (Helvetica, 20­point bold) in component C. A set of instructions that can be called for execution using the method name is a method in Java that can take in data or parameters and return a value - both parameters and return values are optional.
7 0
3 years ago
Other questions:
  • Write a copy assignment operator for CarCounter that assigns objToCopy.carCount to the new objects's carCount, then returns *thi
    15·1 answer
  • ASAP
    12·2 answers
  • Which of the following is an Important criterion for evaluating the effctiveness of a graphic organizer
    14·2 answers
  • Windows uses a memory-management technique known as ________ to monitor which applications you use most frequently and then prel
    8·1 answer
  • What is the different between 32bit anf 64 bit verision​
    11·1 answer
  • WILL GIVE BRAINLIEST TO HELPFUL ANSWERS!
    8·1 answer
  • Does anyone know what happened to Cole Morgen, the actor?
    11·1 answer
  • The three activities in an information system that produce the information organizations use to control operations are:a.informa
    9·2 answers
  • Which of the following statements describes the general idea of an assistive media​
    7·1 answer
  • According to the selection, speech-software developers are still striving to develop speech-recognition technology that —
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!