Try not to spend more than 40 minutes on this problem! Creat…
Try not to spend more than 40 minutes on this problem! Create three classes 1)Criminal is an abstract class2)Thief is a class that inherits from Criminal3) Killer is a class that inherits from Criminal You decide which variables and methods should be static or instance unless it is explicitly stated. _____________________________________ Criminal one variable nameOfPrisoner //You decide whether it is instance or static one method displaySentence( ); // method should be abstract_________________________________________Thief one variable numberOfTheives //You decide whether it is instance or static one method displaySentence() { System.out.print (“2 months in jail”); }___________________________________________Killer one instance variable numberOfPeopleKilled one method displaySentence( ) { System.out.println(“two years in jail”); } In the main method you will create an array of type criminal that can hold two objects and populate it according to the following: The first element of the array is an object of type Thief. His name is Jim.Increment numberOfThieves variable The second element of the array is an object of type killer. His name is Jack and he killed 3 people Run the through array using a for loop and display the following for each person where appropriate:1) the the name of each criminal,2) displaySentence method to display each person’s sentence3) number of people that were killed if the person is a killer.4) At the end of program display the numberOfThieves
Read DetailsWhich lines cause a compile error? public class Vehicle {…
Which lines cause a compile error? public class Vehicle { protected String name; private int ID; public setID(int pID) {…} } public class Car extends Vehicle { private int miles; public Car() { 1 miles = 145; 2 setID(99); 3 ID = 47; 4 name = “Honda”; } }
Read DetailsSuppose that a channel obeys the concerted allosteric model…
Suppose that a channel obeys the concerted allosteric model (see below). The binding of ligand to the R state (the open form) is 20 times as tight as that to the T state (the closed form). In the absence of ligand, the ratio of closed to open channels is 105. If the channel is a tetramer, what is the fraction of open channels when 1, 2, 3, and 4 ligands are bound? The ratio of closed to open channels is 105 when no ligands are bound. The ratio of closed to open channels is [blank1] when one ligand is bound. The fraction of open channels is [blank2]. The ratio of closed to open channels is [blank3] when two ligands are bound. The fraction of open channels is [blank4]. The ratio of closed to open channels is [blank5] when three ligands are bound. The fraction of open channels is [blank6]. The ratio of closed to open channels is [blank7] when four ligands are bound. The fraction of open channels is [blank8].
Read DetailsAcid sensing is associated with pain testing, and other biol…
Acid sensing is associated with pain testing, and other biological activities. Acid sensing is carried out by a ligand-gated channel that permits Na+ influx in response to H+. This family of acid-sensitive ion channels (ASICs) includes a number of members. Psalmotoxin 1 (PcTX1), a venom from the tarantula, inhibits some members of this family. The following electrophysiological recording of cells containing several members of the ASIC family were made in the presence of toxin at a concentration of 10 nM. The channels were opened by changing the pH from 7.4 to the indicated values. The PcTX1 was present for a short period of time (indicated by the black bar above the recording below), after which time is was rapidly washed from the system. Which member(s) of the ASIC family -ASIC1a, ASIC1b, ASIC2a, or ASIC3- is/are most sensitive to the toxin? Is the effect of the toxin reversible? Explain. What concentration of PcTX1 yields 50% inhibition of the sensitive channel?
Read Details