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
timama [110]
3 years ago
11

Write a class called Dragon. A Dragon should have a name, a level, and a boolean variable, canBreatheFire, indicating whether or

not the dragon can breathe fire. The class should have getter methods for all of these variables - getName, getLevel, and isFireBreather, respectively.
Computers and Technology
1 answer:
Alex Ar [27]3 years ago
4 0

Answer: A dragon name could be name Holls and at level 14 and can breathe fire

Explanation:

You might be interested in
Which program is commonly used to verify a new piece of hardware?
NeX [460]
<span>In the current software market, the most commonly used desktop operating systems fall into three groups: Microsoft Windows, Apple Mac OS, and Linux. Before upgrading the operating system, check the minimum hardware requirements of the new OS to ensure that it can be installed successfully on the computer. </span>
6 0
3 years ago
) For a course with n students, an n X 3 array, int[][] arr, holds scores on 3 exams. Each row holds the exam scores for one stu
anzhelika [568]

Answer:

Following are the code to this question:

import java.util.*;//import package  

public class Main //defining a class

{

public static void main(String[] ax)//defining main method

{

      int student[][] = {{50,60,65},{75,85,90}}; //defining double array student  

      int Row=0,Col=0;//defining integer variable

      double x;//defining double variable

      for (int a = 0; a <student.length; a++)//use for loop to holding row value

       {  

           for (int b = 0; b<student[a].length; b++)//use for loop to holding column value  

           {  

               Row += student[a][b];//add row value

               Col += student[0][b];//add column value

           }

       }

       System.out.println(x=Row/2);//dividing value and calculating average value

}

}

Output:

212.0

Explanation:

In the above code, a 2D array student is declared, that holds some value in the next step, two integer variable "Row and Col", is declared, which it uses the for loop to add value in "Row and Col", and in the next step, a double variable x is declared, that add value and calculates its average value and store its value in x variable and print its value.

7 0
3 years ago
Which activity should be part of a long-term plan to positively affect your
STatiana [176]
D that is the answer but I need 20 words to send this text
5 0
3 years ago
What is the meaning of google?
UkoKoshka [18]
According to the Google guys, the company's name comes from the word 'googol' which is actually a number invented by Milton Sirotta. Probably the Google name is related to the number of the results provided by the search technology which is usually huge.

"The name 'Google' is a play on the word 'googol,' coined by Milton Sirotta, nephew of American mathematician Edward Kasner. A 'googol' refers to the number represented by a 1 followed by 100 zeros. It's a very large number. In fact, there isn't a googol of anything in the universe

5 0
3 years ago
Read 2 more answers
The key invention that enabled computers to go into every home and office is blank
marta [7]
It was the memory board wasn't it
4 0
3 years ago
Other questions:
  • The ____ contains methods that allow you to set physical properties such as height and width, as well as methods that allow you
    14·1 answer
  • Use semaphore(s) to solve the following problem. There are three processes: P1, P2, and P3. Each process Pi has a segment of cod
    11·1 answer
  • Objective:This assignment is designed to give you experience with thinking about algorithm analysis and performanceevaluation.Pr
    11·1 answer
  • For every decision you make, there is a trade-off. Please select the best answer from the choices provided T F
    12·2 answers
  • Jesse is trying to find a computer file. he types the name of the file into the computer search bar. the computer is most likely
    5·2 answers
  • Saas provides services to an organization that requires the standard business process infrastructure such a CRM
    7·1 answer
  • Explain why, with fast moving mobiles, speed is more dominant in characterizing the use mobility pattern than direction?
    8·1 answer
  • Please discuss what you consider to be some of the biggest challenges your company will face when working from the Linux command
    14·1 answer
  • What are the three common forms for mining structured and unstructured data?
    14·1 answer
  • Which of the following expressions would you use to test if a char variable named choice is equal to "y" or "Y"? a. choice.tolow
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!