is there an answer selection?
Answer:
Following are the program in java
public class Vehicle // class vehicle of type public
{
private int modelYear;
Vehicle() // no parameters
{
modelYear=2018;
}
vehicle(int t) // update the value of modelYear
{
modelYear=t;
}
public static void main(String args[]) // main function
{
vehicle ob=new vehicle();// creating instance
vehicle ob1=new vehicle(45);
}
}
Explanation:
Here we create a private data member i.e modelYear of integer type .
We create default constructor and initializes modelYear variable with 2018.
we create a parametrized constructor which update the value of modelYear variable.
From the main function we call both the constructors.
Answer: Option B
Explanation: Information can be defined as the presentation of scattered data in a sequential manner to make it more meaningful and understanding.
Information is the exchange of intelligence, thus, it has to be organized and processed from its raw form.
From the above explanation we can conclude that the right option is B.
Answer:
C
Explanation:
In simple words, data mining is defined as a process used to extract usable data from a larger set of any raw data. It implies analysing data patterns in large batches of data using one or more software.
Answer:
a. method body.
Explanation:
A method contains the following components:
- method implementation code
All of these together constitute the method body. The method body contains the declarations and statements constituting the method definition.
Apart from this, when the method is invoked at runtime, it needs to be called with method-name and the actual parameter list which gets substituted for the formal parameters in the method body.