Answer:
All are True
Explanation:
a. A constructor must have the same name as that of a class. For example
public class MyFirstClass{ // this is the class name
public MyFirstClass() } // the constructor having the same name as class.
b. Constructors never have a return type not even void because it is only used to initialize the values of data members of the class when the object of the class is created so constructors are not directly called hence they do not need to have a return type.
c. Constructors are invoked using the new operator.
When the new object is created the constructor is invoked in order to initialize the variables of a class. The memory is allocated to the object and then the constructive is invoked for the purpose to initialize the object.
Answer:
To convert hexadecimal number 11BA to decimal, follow these two steps:
Start from one's place in 11BA : multiply ones place with 16^0, tens place with 16^1, hundreds place with 16^2 and so on from right to left
Add all the product we got from step 1 to get the decimal equivalent of 11BA.
Using the above steps, here is the work involved in the solution for converting 11BA to decimal number (Don't forget that we start from ones place to so on...)
Decimal equivalent of "A" = (A) 10 × 16^0 = 10
Decimal equivalent of "B" = (B) 11 × 16^1 = 176
Decimal equivalent of "1" = 1 × 16^2 = 256
Decimal equivalent of "1" = 1 × 16^3 = 4096
Decimal equivalent of "11BA" = 409625617610
11BA = 4538
Here is the final answer, The hexadecimal number 11BA converted to decimal is therefore equal to:
4538
Answer: See explanation
Explanation:
Based on the options given, the positive effects of the internet on business will be:
• He recently bought a second-hand camera online, which he hadn't been able to find in any store.
• His friend sell printed T-shirts online, storing them in his basement and promoting them on social media.
The negative effects of the internet on business will be:
• A bookstore down the road shut down because people preferred the cheaper online bookstores.
• Ravi's sister complains that her boss always knows when she is late, but rarely greets her if their paths cross in office.
• One of his friend's printed T-shirts got wet and stained in the delivery truck and the buyer wrote a nasty review.
Answer:
b
Explanation:
a cpu is made from silicon chip
Answer:
// code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
int length=10,height=7,width=5;
// find the volume of
int vol=length*height*width;
// find the surface area
int sa=2*(length*width+length*height+height*width);
// find the perimeter
int peri=4*(length+width+height);
// print the volume
cout<<"Volume is: "<<vol<<" cm^3."<<endl;
// print the surface area
cout<<"Surface area is: "<<sa<<" cm^2."<<endl;
// print the perimeter
cout<<"Perimeter is: "<<peri<<" cm."<<endl;
return 0;
}
Explanation:
Declare and initialize length=10, width=5 and height=7.calculate volume by multiply length, width and height and assign to variable "vol".Then find the surface area as 2*(length*width+length*height+height*width) and assign it to variable "sa".Then find the perimeter as 4*(length+width+height) and assign to variable "peri". Print the volume, perimeter and surface area.
Output:
Volume is: 350 cm^3.
Surface area is: 310 cm^2.
Perimeter is: 88 cm.