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
Musya8 [376]
3 years ago
13

An interface does not have ____.

Computers and Technology
1 answer:
Svetradugi [14.3K]3 years ago
5 0

Answer:

B - instance fields

Explanation:

Fields/variables declared within interfaces are by default final, public or static and hence will not be considered as an instance variable/field but a class variable. Although interfaces can be used to define instance methods, they will never have instance variables.

You might be interested in
PLEASE HELP ITS EASY I JUST BIG STOOPYHEAD!!!!
marishachu [46]

Answer:

D

Explanation:

Because a mobile phone would allow you to tilt it in any direction.

6 0
4 years ago
Read 2 more answers
Write a program that reads the lengths of the sides of a triangle from the user. Compute the area of the triangle using Heron's
slamgirl [31]

Answer:

The java program is as follows.

import java.util.Scanner;

import java.lang.*;

public class Area

{

   //variables to hold the values

   static double a, b, c;

   static double s;

   static double area;

public static void main(String[] args) {

    //scanner class object created

    Scanner sc = new Scanner(System.in);

 System.out.print("Enter the first side: ");

 a=sc.nextInt();

 System.out.print("Enter the second side: ");

 b=sc.nextInt();

 System.out.print("Enter the third side: ");

 c=sc.nextInt();

 s=(a+b+c)/2;

 //function of Math class used

 area = Math.sqrt( s*(s-a)*(s-b)*(s-c) );

 //result displayed with 3 decimal places

 System.out.printf("The area of the triangle is %.3f", area);  

}

}

OUTPUT

Enter the first side: 1

Enter the second side: 1

Enter the third side: 1

The area of the triangle is 0.433

Explanation:

1. The variables to declare the three sides of the triangle, the semi-perimeter and the area of the triangle are declared with double datatype. All the variables are declared at class level and hence, declared with keyword, static.  

2. Inside main(), an object of the Scanner class is created.

Scanner sc = new Scanner(System.in);

3. Using the Scanner class object, user input is taken for all the three sides of the triangle.

4. Following this, the semi-perimeter is computed as shown.

s=(a+b+c)/2;

5. The area of the triangle is computed using the given formula which is implemented as shown.

area = Math.sqrt( s*(s-a)*(s-b)*(s-c) );

6. The sqrt() method of the Math class is used while computing the area of the triangle.

7. The area is displayed with three decimals. This is done using the printf() method as shown.

System.out.printf("The area of the triangle is %.3f", area);

8. The program is saved with the same name as the name of the class having the main() method.

9. The class having the main() method is always public.

3 0
3 years ago
Darla is going to start writing the HTML code for a web page. What would she
Stels [109]

Answer:

(C) Opening Tag

Explanation:

HTML code is contained in an opening and closing tag. To start writing code you need to first type in the opening tag.

7 0
3 years ago
Read 2 more answers
3. What is the value of a 4-band resistor which has the first band - Green, the
qwelly [4]

Answer:

56000 with a tolerance of 5%

Explanation:

5 6 + 3 zeros

3 is orange so that means you add 3 zeros when the orange band is present in the third position.

Green is 5

Blue is 6

Gold in the 4th band is the % tolerance. Gold is a 5% tolerance which mean that the real value is 5% either side of 56000/

The answer is B

4 0
3 years ago
Fre.....ee p......oint....s pt 2
murzikaleks [220]

Answer:

Thanks for it

Explanation:

Brainlists please

3 0
3 years ago
Read 2 more answers
Other questions:
  • Suppose you have two arrays of ints, arr1 and arr2, each containing ints that are sorted in ascending order. Write a static meth
    7·1 answer
  • Chef is an orchestration tool?<br> Yes or No
    6·2 answers
  • How do you guys feel about the coronavirus and being Homeschooled
    10·1 answer
  • Twitter and facebook are both examples of the​ _____________ internet business model.
    7·1 answer
  • Samira recently opened an online potted plant store and needs to promote it. She chose Google Ads because it offers advertisers
    12·2 answers
  • SOMEONE HELP PLEASE ​
    5·1 answer
  • Why should you be chosen over someone else? *
    5·2 answers
  • What tool can help discover and report computer errors when you first turn on a computer and before the operating system is laun
    9·2 answers
  • Primary purpose of ms Excel​
    10·1 answer
  • Software created according to user choice​ true or false
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!