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
vredina [299]
3 years ago
8

Which of the code pieces below should replace the underline?public class Test{public static void main(String[] args){Test test =

new Test();test.setAction(_______);}public void setAction(T1 t){t.m();}}interface T1{public void m();}
Engineering
1 answer:
nikdorinn [45]3 years ago
5 0

Which of the code pieces below should replace the underline?public class Test{public static void main(String[] args){Test test = new Test();test.setAction(_______);}public void setAction(T1 t){t.m();}}interface T1{public void m() is explained below

Explanation:

Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist

In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24839/src/org/python/pydev/editor/correctionassist

Modified Files:

PythonCorrectionProcessor.java  

Log Message:

Index: PythonCorrectionProcessor.java

===================================================================

RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/correctionassist/PythonCorrectionProcessor.java,v

retrieving revision 1.12

retrieving revision 1.13

diff -C2 -d -r1.12 -r1.13

*** PythonCorrectionProcessor.java 23 Feb 2005 14:29:36 -0000 1.12

--- PythonCorrectionProcessor.java 25 Feb 2005 12:34:28 -0000 1.13

***************

*** 419,423 ****

                 //all that just to change first char to lower case.

                 callName = lowerChar(callName, 0);

!                 if (callName.startsWith("get")){

                     callName = callName.substring(3);

                  callName = lowerChar(callName, 0);

--- 419,423 ----

                 //all that just to change first char to lower case.

                 callName = lowerChar(callName, 0);

!                 if (callName.startsWith("get") && callName.length() > 3){

                     callName = callName.substring(3);

                  callName = lowerChar(callName, 0);

You might be interested in
How has drafting evolved in the 21st century
Mila [183]

Drafting has been around a long time. We can safely assume that since we’ve had a tool in our hands, we’ve been describing plans and technical representations and doodling ideas. Let’s take a closer aspect at drafting and its advance from an under-the-radar part of the method to a very developed skill set.

<u>Explanation</u>

•  1970s – The beginning computer-aided design systems were included in the industry. Following the design engineers tried the learning curve of using CAD, their performance and productivity went through the roof. Over time, CAD software became affordable and more user-friendly, and its fame grew.

•   1990s – CAD software was expanded further to include 3-D characteristics, and quickly the technical designs of the past enhanced increasingly simulated and accessible to engineer.

•   Present – The development of drafting has brought us to the present day, were using 3-D representations is the standard and the aim to generate full virtual prototypes.

8 0
3 years ago
The basic barometer can be used to measure the height of a building. If the barometric readings at the top and the bottom of a b
Levart [38]

Answer:

230.51 m

Explanation:

Pb = 695 mmHg

Pt = 675 mmHg

Pb - Pt = 20 mmHg

Calculate dP:

dP = p * g * H = (13600)*(9.81)*(20/1000) = 2668.320 Pa

Calculate Height of building as dP is same for any medium of liquid

dP = p*g*H = 2668.320

H = 2668.32 / (1.18 * 9.81) = 230.51 m

8 0
3 years ago
Define the word vision statement​
Elena L [17]

Answer:

A vision statement describes what a company desires to achieve in the long-run, generally in a time frame of five to ten years, or sometimes even longer. It depicts a vision of what the company will look like in the future and sets a defined direction for the planning and execution of corporate-level strategies.

Explanation:

While companies should not be too ambitious in defining their long-term goals, it is critical to set a bigger and further target in a vision statement that communicates a company’s aspirations and motivates the audience. Below are the main elements of an effective vision statement:

-Forward-looking

-Motivating and inspirational

-Reflective of a company’s culture and core values

-Aimed at bringing benefits and improvements to the organization in the future

-Defines a company’s reason for existence and where it is heading

7 0
3 years ago
State the number of terms for each of the following algebraic expression 2x+1
harina [27]

Answer:

Expressions are made up of terms.

A term is a product of factors.

Coefficient is the numerical factor in the term

Before moving to terms like monomials, binomials, and polynomials, like and unlike terms are discussed.

When terms have the same algebraic factors, they are like terms.

When terms have different algebraic factors, they are unlike terms.

Explanation:

Hi please follow me also if you can and thanks.

6 0
3 years ago
Air at 400kPa, 970 K enters a turbine operating at steady state and exits at 100 kPa, 670 K. Heat transfer from the turbine occu
Sonja [21]

Answer:

a

The rate of work developed is \frac{\r W}{\r m}= 300kJ/kg

b

The rate of entropy produced within the turbine is   \frac{\sigma}{\r m}=  0.0861kJ/kg \cdot K

Explanation:

     From  the question we are told

          The rate at which heat is transferred is \frac{\r Q}{\r m } = -  30KJ/kg

the negative sign because the heat is transferred from the turbine

          The specific heat capacity of air is c_p = 1.1KJ/kg \cdot K

          The inlet temperature is  T_1 = 970K

          The outlet temperature is T_2 = 670K

           The pressure at the inlet of the turbine is p_1 = 400 kPa

          The pressure at the exist of the turbine is p_2 = 100kPa

           The temperature at outer surface is T_s = 315K

         The individual gas constant of air  R with a constant value R = 0.287kJ/kg \cdot K

The general equation for the turbine operating at steady state is \

               \r Q - \r W + \r m (h_1 - h_2) = 0

h is the enthalpy of the turbine and it is mathematically represented as          

        h = c_p T

The above equation becomes

             \r Q - \r W + \r m c_p(T_1 - T_2) = 0

              \frac{\r W}{\r m}  = \frac{\r Q}{\r m} + c_p (T_1 -T_2)

Where \r Q is the heat transfer from the turbine

           \r W is the work output from the turbine

            \r m is the mass flow rate of air

             \frac{\r W}{\r m} is the rate of work developed

Substituting values

              \frac{\r W}{\r m} =  (-30)+1.1(970-670)

                   \frac{\r W}{\r m}= 300kJ/kg

The general balance  equation for an entropy rate is represented mathematically as

                       \frac{\r Q}{T_s} + \r m (s_1 -s_2) + \sigma  = 0

          =>          \frac{\sigma}{\r m} = - \frac{\r Q}{\r m T_s} + (s_1 -s_2)

    generally (s_1 -s_2) = \Delta s = c_p\ ln[\frac{T_2}{T_1} ] + R \ ln[\frac{v_2}{v_1} ]

substituting for (s_1 -s_2)

                      \frac{\sigma}{\r m} = \frac{-\r Q}{\r m} * \frac{1}{T_s} +  c_p\ ln[\frac{T_2}{T_1} ] - R \ ln[\frac{p_2}{p_1} ]

                      Where \frac{\sigma}{\r m} is the rate of entropy produced within the turbine

 substituting values

                \frac{\sigma}{\r m} = - (-30) * \frac{1}{315} + 1.1 * ln\frac{670}{970} - 0.287 * ln [\frac{100kPa}{400kPa} ]

                    \frac{\sigma}{\r m}=  0.0861kJ/kg \cdot K

           

 

                   

   

5 0
3 years ago
Other questions:
  • Coal fire burning at 1100 k delivers heat energy to a reservoir at 500 k. Find maximum efficiency.
    6·1 answer
  • What kind or kinds of engineers does take to design a drone and why?
    11·1 answer
  • Air (ideal gas) is contained in a cylinder/piston assembly at a pressure of 150 kPa and a temperature of 127°C. Assume that the
    12·1 answer
  • A rigid, sealed tank initially contains 2000 kg of water at 30 °C and atmospheric pressure. Determine: a) the volume of the tank
    14·1 answer
  • Explain why the scenario below fails to illustrate an understanding of the importance of metrology. Situation: Natalie is a cali
    6·1 answer
  • Write a script (Program 2) to perform t he following matrix operations. Use output commands to clearly output each problem with
    15·1 answer
  • Four eight-ohm speakers are connected in parallel to an audio power amplifier. The amplifier can supply a maximum driver output
    12·1 answer
  • 10. Identify one material we Mine and what we make with that material
    6·1 answer
  • Resistance depends on which three properties of a wire?
    15·1 answer
  • Jade wanted to test the effect of ice on the weathering of rocks. She filled two containers with gypsum and placed a water ballo
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!