1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Sloan [31]
3 years ago
8

The implements keyword in a class declaration indicates the use of

Computers and Technology
1 answer:
inna [77]3 years ago
5 0

Answer:

The correct answer for the following question is "interface" .

Explanation:

Interface is used for achieving the multiple inheritence in java.Interface is kind of abstract class which contain abstract method.When we use implement method it indicate the use of interfaces.

Following are the example of class that uses interface .

Following are the code in java

interface a // creating interface

{  

 public void fun1(); // interface method (does not have a body)

}  

class abc implements a

{

 public void fun1()

{

   System.out.println("hello brainly");

 }

}

class Main //main class

{

 public static void main(String[] args) // main method

{

   abc ob=new abc(); // creating object

   ob.fun1();  // calling fun1() function

 }

}

In this we create an interface a which have abstract method fun1()(only declaration) the class abc implements the interface " a" and define the method fun1() .On creating the object of class abc it call fun1() i.e it print  hello brainly

output:hello brainly

You might be interested in
A function test() that would take three integervalues x, y and z (as
marta [7]

Answer: The c++ program to implement test() method is given below.

#include <iostream>

using namespace std;

int test(int a, int b, int c);

int main() {

   int x, y, z;

   cout<<"This program displays the largest number."<<endl;

       cout<<"Enter first number"<<endl;

       cin>>x;

       cout<<"Enter second number"<<endl;

       cin>>y;

       cout<<"Enter third number"<<endl;

       cin>>z;

   int max = test(x, y, z);

   cout<<"The largest number is "<<max<<endl;

   return 0;

}

int test(int a, int b, int c)

{

   if((a>b)&&(a>c))

       return a;

 

   else if((b>a)&&(b>c))

           return b;

           

   else if((c>b)&&(c>a))

           return c;

     

}

OUTPUT

This program displays the largest number.

Enter first number

12

Enter second number

0

Enter third number

-87

The largest number is 12

Explanation:

The method test() is declared as follows.

<em>int test(int a, int b, int c);</em>

The method is declared with return type int since it returns an integer, i.e., the largest of the three parameters.

This program is designed to accept 0 and all values of integers. Hence, input is not tested for validity. It is assumed that the user enters only numerical values.

The program declares and uses three integer variables to store the user input.

<em>int x, y, z;</em>

The method test() is designed to accept three integer parameters. This method is called once the user enters three numbers for comparison.

<em>int test(x, y, z);</em>

These numbers are compared in order to return the largest number.

No variable is used for comparison. The method simply compares the numbers using multiple if-else statements.

<em>if((a>b)&&(a>c))</em>

<em>        return a;</em>

The same comparison logic is applied for other two input values.

The largest number is returned to the calling function which is main() in this program. This value is stored in the integer variable, max, declared in the main() method. The variable max is declared and initialized simultaneously.

<em>int max = test(x, y, z);</em>

This value is then displayed on the screen.

<em>cout<<"The largest number is "<<max<<endl;</em>

4 0
4 years ago
You are the senior nurse on the unit and you are orienting a new graduate LVN/LPN. One of the subjects you want to cover today i
Margarita [4]

Answer: D. Homans sign

Explanation:

Check for the severity of the swelling, monitor the flow of blood to the tissue, pulses equality, check for homans sign such as pain in the leg around the calve, the calve is meant to be of equal size and warmth. There should not be any reddish colouration or pains around the calve when there is ankle movement as this shows a negative sign of homans.

3 0
3 years ago
HELP PLEASEEEE!!!!!!!
Lubov Fominskaja [6]
This is too little points for a question I’m sorry.
8 0
3 years ago
How can the amount of data in a sampled google analytics report be increased?
goldfiish [28.3K]

Under the reporting interface of google analytics. The reporting tool base the amount of sample on the precision setting of the report. Greater precision will need more sample and less precision setting will need less sample. It is the percent of N session which is changed depending on the setting. You can find more information and official documentation on Google analytics product page.


Greater precision option will provide max sample.

3 0
4 years ago
Which of the following is true? You are a project manager for Laredo Pioneer's Traveling Rodeo Show. You're heading up a project
nika2105 [10]

Answer: C. You are a project manager for Laredo Pioneer's Traveling Rodeo Show. You're heading up a project to promote a new line of souvenirs to be sold at the shows. You're ready to document the processes you'll use to perform the project as well as define how the project will be executed and controlled and how changes will be monitored and controlled. You are working on the project management plan.

Explanation:

4 0
3 years ago
Other questions:
  • To type the letter address, _________ space from the dateline
    9·2 answers
  • I want to customize my company's logo, name, address, and similar details in all my business documents what option should use?
    12·1 answer
  • There are varying definitions for the term "dumb terminal," but it often refers to the fact that the terminal has
    13·1 answer
  • Ayuda por favor.<br><br>Please help!!
    15·1 answer
  • The process of ensuring that web pages coded with new or advanced techniques still are usable in browsers that do not offer supp
    14·1 answer
  • What does it mean when a computer can't break the rules
    10·2 answers
  • What is the ghosted text or picture behind the content on the page?​
    6·1 answer
  • I dont uderstand dis my teacher no helping pls help me i need to understand TEch
    10·1 answer
  • Please tell fast plzzzzzzzzzzz.​
    9·1 answer
  • In object-oriented analysis, an object is a member of a(n) _____, which is a collection of similar objects.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!