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
il63 [147K]
3 years ago
13

write the class definition of a subclass of square called fancysquare that has a method called getdiagonal. the getdiagonal meth

od gets no arguments but returns the value of side multiplied by the square root of two.
Computers and Technology
1 answer:
Harman [31]3 years ago
3 0

Answer:x squared

Explanation:

You might be interested in
As we move up a energy pyrimad the amount of a energy avaliable to each level of consumers
AleksandrR [38]

Explanation:

As it progresses high around an atmosphere, the amount of power through each tropic stage reduces. Little enough as 10% including its power is passed towards the next layer at every primary producers; the remainder is essentially wasted as heat by physiological activities.

8 0
3 years ago
You are given an array x of string elements along with an int variable n that contains the number of elements in the array. You
jarptica [38.1K]

Answer and Explanation:

Make an algorithm of that which include array x of string where Mode of the value of the array means that you have the values such that 1.2,4,2,6,7,8,2 so 2 is the value of set as it appears more than other number similarly when a array of x has been given.First of all initialize a variable then declare it . so for initialization create a variable .Let suppose i create a variable of add and initialize it with 0 and given a it data type integer then

int add= 0;  // declaration

int add[]=0; // declaration and initialization in array

class add {  

void main(String array[]){  

int add[]=0;//declaration and instantiation  

int add[] = new int [3];

add[0]=30;//initialization  

add[1]=80;  

add[2]=20;  

output the given array of string

for ( int i = 0 ; i <add.length ;i++)

cout <<add[i];

 }

Taking an other example let initialization and declare array of string and print the greater value.For this create a variable with integer data type \

class Test{  

void main(String[] array){  

       //declaration of array

int test[][] = new int [2];

test[0]; new int [2];

test[1]; new int [4];

for initialization of array lets take variable a with data type integer

      int a=0;  

//taking loop for condition

       for (int i=0; i<test.length; i++)  

           for(int j=0; j<test[i].length; j++)  

//if the loops working properly then take increment in the variable a

               test[i][j] = a++;  

this process repeat until loops got false

   for (int i=0; i<test.length; i++)  

           for(int j=0; j<test[i].length; j++)  

         cout<<test[i][j]<<"+"<<"";  

           }  

           System.out.println();

       }  

   }  

6 0
4 years ago
HEEELLPPPPP, ILL GIVE THE BRAIN THING
sladkih [1.3K]
Can you explain more please??!
5 0
3 years ago
Zoe wants to post something controversial online, but then she remembers that employers may look at her social media when she st
allsm [11]

Answer:

D

Explanation:

7 0
3 years ago
Continuous data
Elena-2011 [213]

Answer: Could be subdivided into smaller and smaller units.

Explanation:

 The continuous data are basically measured in the small units and can be easily subdivided into smaller parts without changing their actual meaning.

The continuous data also contain numeric value and can be divided into smaller and finer meaningful parts.

The continuous data can be measured according to the precision of the system. The size and volume are the example of the continuous data.

7 0
4 years ago
Other questions:
  • A program to add two numbers in C++
    15·1 answer
  • 4+4 act quick for brainliest
    10·2 answers
  • What is indirect recursion?
    14·1 answer
  • Which technological innovation was most important for early-nineteenth-century economic development?
    11·1 answer
  • ASAP ε=ε=ᕕ(°□°)ᕗ<br> Sorry if you can't see it but please help me if you can!
    6·1 answer
  • According to the computer science what isCD ROM is a ​
    8·1 answer
  • Works for a major manufacturer of computer processors. As a part of Susan's job, she is expected to run a series of diagnostic t
    9·1 answer
  • What is the speed of Android operating system?
    6·1 answer
  • Compute series multiplier resistors RM = 100Ω:
    8·1 answer
  • Provide examples of how information technology has created an ethical dilemma that would not have existed before the advent of I
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!