Take screenshots of other tweets and get a app that can put them together in 1 photo or use google slides
Answer:
The code to this question can be given as:
Code:
public interface Test //define interface
{
public abstract Duration getDuration(); //define method
getDuration.
public abstract Result check(int a);
//define method
check .
public abstract double getScore();
//define method getScore.
}
Explanation:
In the above code, we define an interface that is "Test" inside an interface, we define three methods that can be defined as:
- First, we define a method that is "getDuration" that method returns Duration as an object.
- Second, we define a method that is "check" this method accepts an integer parameter that is a and return Result.
- The third method is "getScore" this method will return a double value.
Answer:
B. a tag
Explanation:
In the structure definition given below:
struct Employee
{
string name;
int idNum;
};
Employee corresponds to the tag of the structure. The tag is used to create additional instances of the structure. For example:
struct Employee e1;
struct Employee e2;
name and idNum are members of the Employee structure and are referenced using the dot notation. e.g.,
struct Employee e1;
e1.idNum=1;
No
.................................. :)