Answer:
// program in java.
import java.util.*;
// class definition
class Main
{// main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// object to read input
Scanner scr=new Scanner(System.in);
// ask to enter name
System.out.print("Enter Your name: ");
// read name from user
String NAME=scr.nextLine();
// print message
System.out.println("Greetings,"+NAME);
}catch(Exception ex){
return;}
}
}
Explanation:
Read name from user with the help of scanner object and assign it to variable "NAME".Then print a Greetings message as "Greetings,NAME" where NAME will be replaced with user's input name.
Output:
Enter Your name: Rachel
Greetings,Rachel
Answer:
1. Professional Software is not just the program developed for a customer
2. The software is meant for a specific purpose
Explanation:
Professional software is not just the program developed for a customer. Infact professional software along with executable code will also contain documentation, configuration of data - all that is required to make the operation of programs correct and accurate. Generally such a software do contain separate files for program and configuration purposes. Documentation of the professional software consists of several topics such as structure of the system, user documentation with all the information required for user to work on that. Hence professional software is not just a set of programs developed for customer - but it is a comprehensive information collection and set up tool set designed for the usage of a customer as well.
2. Custom software development are commisssioned by a specific customer for his specific requirements. Whereas Generic software products are general software applicable for diverse customers for their requirements and hence can be sold in open market for any customer. And hence the aplication development of both the software products mentioned above also do vary, in the first case specifications will be completely provided by the customer and will be controlled as well by the cusotmer
Network media is most important
Answer:
Many occupations use mathematics, even if it is not the primary focus of a given job.
Explanation:
Think about software developers, they develop apps, websites, and other things, but they also use math in the process. Scientists use statistics. Mechanics use math to make sure their measurements are right. Therefore, I think your best bet would be
A. Many occupations use mathematics, even if it not the primary focus of a given job.
Answer:
The method definition to this question can be given as:
Method definition:
double max(double x, double y) //define method with double parameter
{
if (x>=y) //check condition.
return x; //return value
else
return y; //return value
}
double max(int x, int y) //define method with integer parameter
{
if (x>=y) //check condition
return x; //return value
else
return y; //return value
}
double max(char x, char y) //define method with char parameter
{
if (x>=y) //check condition
return x; //return value
else
return y; //return value
}
Explanation:
The above method definition can be described as below:
- In the first method definition first, we define a method that is "max()". In this method we pass two variables as a parameter that is "x and y" and the datatype of this is double. Then we use a conditional statement. In the if block we check if variable x is greater then equal to y then it will return x else it will return y.
- In the second method definition, we define a method that is same as the first method name but in this method, we pass two integer variable that is "x and y". Then we use a conditional statement. In the if block we check if variable x is greater then equal to y then it will return x else it will return y.
- In the third method definition, we define a method that is same as the first and second method name but in this method, we pass two char variable that is "x and y". Then we use a conditional statement. In the if block we check if variable x is greater then equal to y then it will return x else it will return y.