Answer:
public abstract class Vehicle
{
private int id;
public int ID
{
get { return id; }
set { id = value; }
}
private string model;
public string Model
{
get { return model; }
set { model = value; }
}
public abstract string VehicleDetail(int id, string model);
}
public class Car : Vehicle
{
public Car() { }
public Car(int id, string model)
{
ID = id;
Model = model;
}
public override string VehicleDetail(int id, string model)
{
return $"{id} - {model}";
}
}
public class Bus : Vehicle
{
public Bus(int id, string model, string make)
{
ID = id;
Model = model;
Make = make;
}
public string Make { get; set; }
public override string VehicleDetail(int id, string model, string make)
{
return $"{id} - {model}" - {make};
}
}
Explanation:
Answer:
By using the this keyword
Explanation:
The this keyword in java is used for pointing the current object or current variable .The this keyword is removing the ambiguity among the characteristics of the class as well as the variables with the similar name.
In the given question if the class student has member variable gpa also we have a method having the argument gpa with the help of this keyword we can refer the gpa variable inside the method .
Following are the implementation of the given question
public class Main // main class
{
int gpa; // variable declaration
public Main(int gpa) // constructor
{
this.gpa = gpa; // this keyword
}
public static void main(String[] args) // Main method
{
Main m= new Main(55); // creating object of class
System.out.println("The Value of gpa is : " + m.gpa); // display value
}
}
Output:
The Value of gpa is :55
Answer: On the same page
Explanation:
The CRM is basically stand for the customer relationship management that are design to support all the relationship with the customers. It basically analysis the data about the customers to improve the relationship and growth in the organization.
All the employees in the organization are directly and indirectly server the customers are basically o the Same page by the individual computers.
The CRM approach are basically compile the given data from the different communication source such as company website, email and telephone.
Answer: Falsifiability
Explanation: Falsifiability is the term that is defined as the evaluation of any particular hypothesis or theory to be proven wrong .This feature gives the access that the theory can be tested and have more accurate claims .
The ESP(Extrasensory perception) theory can also have feature of being falsifiable because the experiments and test lead to the issue that the negative effects of the theory are not certain which might occur due to simple observation of effects.