Answer: in C
#include <stdio.h>
int main(){
int num1, num2;
printf("Enter first number :: ");
scanf("%d", &num1);
printf("Enter second number :: ");
scanf("%d", &num2);
if(num1 > num2){
printf("%d is larger than %d\n", num1, num2);
} else if (num2 > num1) {
printf("%d is larger than %d\n", num2, num1);
} else{
printf("Both of them are equal\n");
}
return 0;
}
Pivot table is the answer
Answer: CAD is mainly used for detailed engineering of 3D models or 2D drawings of physical components, but it is also used throughout the engineering process from conceptual design and layout of products, through strength and dynamic analysis of assemblies to definition of manufacturing methods of components.
Explanation:
Explanation:
Following are the difference between overriding and overloading
(1) Method overloading means method having same name but different parameter or method signature Whereas Method overriding means method having same name and same parameter or signature.
(2) Method overloading is achieved the compile time Polymorphism whereas Method overriding is achieved the Run time Polymorphism .
(3 ) In method overriding child class have facility to provide a specific implementation of a method which is already defined by parent class method whereas there is no such facility is available in method overloading
(4 )Programming structure of method overloading
class test
{
void fun()
{
// statement
}
void fun(int b)
{
// statement
}
}
In this fun() method name is same but different signature I.e void fun() and void fun(int a);
Programming structure of method overriding
class parent
{
void fun()
{
// statement in parent class
}
}
class child extends test
{
void fun()
{
// override the statement in child class
}
}
In this fun() method have same name and same signature in both class