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
Shalnov [3]
2 years ago
14

Melissa is working on her Cell class by adding new methods. However, in her most recent version, she is receiving errors in some

of her methods. Select the header of the method that is giving her trouble.
public class Cell
{
private int chromosomes, rna;
public double time, h2o;
private static int cellCount = 0;
private static double mCount = 4.0;

public Cell()
{
chromosomes = 23;
rna = 1;
h2o = 2.0;
mCount = rna/h2o;

cellCount++;
System.out.println("There are now " + cellCount + " cells");
}

public Cell(int a_chromosomes, int a_rna, double a_h20)
{
this();
chromosomes = a_chromosomes;
rna = a_rna;
h2o = a_h20;
mCount = rna/h2o;

cellCount++;
System.out.println("There are now " + cellCount + " cells");
}

public void printInfo() {
System.out.println("chromosomes: " + chromosomes);
System.out.println("rna: " + rna);
System.out.println("h2o: " + h2o);
}

public int getChromosomes()
{
if (chromosomes = cell_2.get_mCount()) {
return cell_1;
} else {
return cell_2;
}
}
}

A. public Cell(int a_chromosomes, int a_rna, double a_h20)
B. public int getChromosomes()
C. public double get_mCount()
D. public static Boolean getLargerCell_mCount(Cell cell_1, Cell cell_2)
Computers and Technology
1 answer:
ollegr [7]2 years ago
8 0

Answer:

mfjkdjbchbnbjnjnnbbjbjvbfbgjbbbgbnbbcbbbnmbhnmbkggkjhjgghggfgfgghhjjhjhgfcghjiokijuyfdsfghuijopiuytrdfcgvhbjklp[oiu98y7t6rdfcvbnjklpo09876rdxfcvb nmlkoiu8y7trfdxcv bnjkloi9u87tyfgvbnm,lpoi98uygvbnm,loihuuuuuuuuuujhgftr5kjihugytfrdeujbhgytfrdfghuytfgvhuytfghuytgfgtgfghyt

Explanation:

You might be interested in
Your friend Amy calls you asking for help with her new LCD monitor. She says the monitor isn't showing the whole picture. What i
swat32

Answer:     probably 1080p (which is HD)

Explanation:    Lcd monitors mainly support 1080p.

3 0
2 years ago
7.12 LAB: Even/odd values in a list
Korvikt [17]

The odd values in a list can be calculated by knowing the first and last number, whereas even numbers can be divided by two and the remainder is zero (0).

<h3>What are even numbers and odd numbers?</h3>

The even numbers can be found in a list because they are divisible by two and the remainder of this equation is always zero (0).

Conversely, odd numbers are those that cannot be divided exactly into exact entire numbers (e.g., 3, 5, etc).

The odd numbers in a list can be calculated by the equation ON (odd numbers): n/2 × [f + g], where 'f' is the first number and 'g' is the last number.

In conclusion, the odd values in a list can be calculated by knowing the first and last number, whereas even numbers can be divided by two and the remainder is 0.

Learn more about odd numbers here:

brainly.com/question/2263958

#SPJ1

4 0
2 years ago
Concept tests in the screening and evaluation stage of the new-product process rely on written descriptions, sketches, or mock-u
pochemuha

Answer:

The answer is "Actual products".

Explanation:

The key purpose of this research is to better analyze the concepts, which is done to establish customer buying expectations and perceptions of the item. The key point is to assess the consumers ' initial response to the product idea.

  • This concept testing is also known as a creation, it is an advantage, which can be conveyed to the user to test their reactions.  
  • In conceptual testing, it is a quality check between the design definition and the actual production of the product.

6 0
3 years ago
Write a program that reads three whole numbers and displays the average of the three number. Sample Run #: java Average3 Interac
Maksim231197 [3]

Answer:

The program to this question as follows:

Program:

import java.util.*; //import package

class Average //defining class Average

{

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

{

int a1,b2,c3;//defining integer variable

float avg; //defining float variable

Scanner obz=new Scanner(System.in); //creating scanner class object

System.out.print("input first number: "); //print message

a1=obz.nextInt(); //input value by user

System.out.print("input second number: "); //print message

b2=obz.nextInt(); //input value by user

System.out.print("input third number: "); //print message

c3=obz.nextInt(); //input value by user

avg=a1+b2+c3/3; //calculating average

System.out.print("The average of "+a1+","+b2+",and "+ c3+"="+ avg);//print value    

}

}

Output:

input first number: 8

input second number: 10

input third number: 18

The average of 8,10,and 18=24.0

Explanation:

In the above code, a class "Average" is defined inside this class the main function is declared in this method three integer variable "a1, b2, and a3" is declared, which input the value from the user side. in this method, a float variable avg is defined that calculates its average value.

  • In the next step, a scanner class object is created, that uses the above integer variable values.  
  • In the "avg" variable add all integer variables then divide its value by 3. At the print, method is used that prints avg variable value.
4 0
3 years ago
What controls a computer's basic operations?
S_A_V [24]
 Basic Computer Operations. Input: Information and programs are entered into the computer through Input devices such as the keyboard, disks, or through other computers via network connections or modems connected to the Internet. The input device also retrieves information off disks.
3 0
3 years ago
Other questions:
  • Why is knowledge of percent composition important in the mining process?
    7·1 answer
  • The first character of the VIN designates which of the following? 
    15·2 answers
  • 1. Bluetooth
    5·1 answer
  • what aspect should you consider before adding pictures to a document? you should structure the first before you search for a rel
    15·2 answers
  • Rick works for the government and is investigating a small business that the government suspects has been cheating on its taxes.
    15·1 answer
  • after placing her insertion point after grandma's kitchen, order the steps Danica needs to follow to insert and format the regis
    12·2 answers
  • Chuck plans to go on a hiking trip. Before the hiking trip, Chuck's bank account has $129.50. He then spends $129.50 on hiking g
    6·1 answer
  • Derive the three-dimensional transformation matrix for scaling an object by a scaling factor s in a direction defined by the dir
    15·1 answer
  • What is a computer modem?​
    9·1 answer
  • Which of the following statements best illustrates how value was created for eggs? when a farmer sells a chicken who is no longe
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!