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
NARA [144]
3 years ago
6

Consider the following class definitions: class smart class superSmart: public smart { { public: public: void print() const; voi

d print() const; void set(int, int); void set(int, int, int); int sum(); int manipulate(); smart(); superSmart(); smart(int, int); superSmart(int, int, int); private: private: int x; int z; int y; int secret(); }; }; Which private members, if any, of smart are public members of superSmart
Engineering
1 answer:
arsen [322]3 years ago
5 0

Answer:

a) There is no any private member of smart which are public members of superSmart.

Explanation:

You might be interested in
2. Write a Java program that generates a new string by concatenating the reversed substrings of even indexes and odd indexes sep
Nana76 [90]

Answer:

  1. public class Main {
  2.    public static void main(String[] args) {
  3.        String testString = "abscacd";
  4.        String evenStr = "";
  5.        String oddStr = "";
  6.        for(int i=testString.length() - 1; i >= 0; i--){
  7.            if(i % 2 == 0){
  8.                evenStr += testString.charAt(i);
  9.            }
  10.            else{
  11.                oddStr += testString.charAt(i);
  12.            }
  13.        }
  14.        System.out.println(evenStr + oddStr);
  15.    }
  16. }

Explanation:

Firstly, let declare a variable testString to hold an input string "abscacd" (Line 1).

Next create another two String variable, evenStr and oddStr and initialize them with empty string (Line 5-6). These two variables will be used to hold the string at even index and odd index, respectively.

Next, we create a for loop that traverse the characters of the input string from the back by setting initial position index i to  testString.length() - 1  (Line 8). Within the for-loop, create if and else block to check if the current index, i is divisible by 2, (i % 2 == 0), use the current i to get the character of the testString and join it with evenStr. Otherwise, join it with oddStr (Line 10 -14).

At last, we print the concatenated evenStr and oddStr (Line 18).  

4 0
3 years ago
Design for human-fit strategies include:
andreev551 [17]

Answer:

B- extreme fit, close fit, adjustable fit

Explanation:

A human-fit design typically involves the process of manufacturing or producing products (tools) that are easy to use by the end users. Therefore, human-fit designs mainly deals with creating ideas that makes the use of a particular product comfortable and convenient for the end users.

The design for human-fit strategies include; extreme fit, close fit and adjustable fit.

Hence, when the aforementioned strategies are properly integrated into a design process, it helps to ensure the ease of use of products and guarantees comfort for the end users.

5 0
3 years ago
For the unity negative feedback system G(s) = K(s+6)/ (s + 1)(s + 2)(s + 5) It's known that the system is operating with a domin
Ad libitum [116K]

Answer:The awnser is 5

Explanation:Just divide all of it

4 0
3 years ago
What technology has been used for building super structures​
AleksAgata [21]

Answer: Advanced technologixal machines

Explanation: such as big cranes, multiple workers helping creat said structure, and big bull dozers

7 0
3 years ago
Determine the pressure difference in N/m2,between two points 800m apart in horizontal pipe-line,150 mm diameter, discharging wat
zlopas [31]

Answer: 10.631\times 10^3\ N/m^2

Explanation:

Given

Discharge is Q=12.5\ L

Diameter of pipe d=150\ mm

Distance between two ends of pipe L=800\ m

friction factor f=0.008

Average velocity is given by

\Rightarrow v_{avg}=\dfrac{12.5\times 10^{-3}}{\frac{\pi }{4}(0.15)^2}\\\\\Rightarrow v_{avg}=\dfrac{15.9134\times 10^{-3}}{2.25\times 10^{-2}}\\\\\Rightarrow v_{avg}=7.07\times 10^{-1}\\\Rightarrow v_{avg}=0.707\ m/s

Pressure difference is given by

\Rightarrow \Delta P=f\ \dfrac{L}{d}\dfrac{\rho v_{avg}^2}{2}\\\\\Rightarrow \Delta P=0.008\times \dfrac{800}{0.15}\times \dfrac{997\times (0.707)^2}{2}\\\\\Rightarrow \Delta P=10,631.45\ N/m^2\\\Rightarrow  \Delta P=10.631\ kPa

8 0
3 years ago
Other questions:
  • One-dimensional, steady-state conduction with uniform internal energy generation occurs in a plane wall with a thickness of 50 m
    14·1 answer
  • Design a PLC ladder logic program to control the operation of a conveyor-storage system using the following sequence: - 1. Progr
    5·1 answer
  • A water tower that is 90 ft high provides water to a residential subdivision. The water main from the tower to the subdivision i
    10·1 answer
  • Suppose that the time (in hours) required to repair a machine is an exponentially distributed random variable with parameter ???
    13·1 answer
  • Solving Expressions Analytically 1 point Consider the following equation, which describes the speed of sound a in an ideal gas:
    12·1 answer
  • A block of mass M rests on a block of mass M1 = 5.00 kg which is on a tabletop. A light string passes over a frictionless peg an
    14·1 answer
  • 6. Question
    13·1 answer
  • Ten dollars per hour is about how much income per year
    5·2 answers
  • What material are the rocker/valve cover gaskets made out of?
    5·1 answer
  • A batch of 1000 is split into 10 smaller batches of equal size 100. The processing time of each unit is 2
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!