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
Ronch [10]
3 years ago
11

All objects have access to the methods of the ____________ class.

Computers and Technology
1 answer:
ArbitrLikvidat [17]3 years ago
5 0

Answer:

Super Class.

Explanation:

The objects in the sub class or the child class have access to the super class or base class.

for example:-

class vehicle{

public int color;

public int numtyres;

public void type()

{

if(numtyres==2)

{

system.out.println("Two wheeler");

}

else if(numtyres==3)

{

system.out.println("Three wheeler");

}

else

system.out.println("four wheeler");

}

}

class motorvehicle extends vehicle{

public int gears;

public int eng_cap_cc;

}

In the above written classes class motorvehicle has access to the method type of the class vehicle and vehicle is the superclass of motorvehicle.

You might be interested in
In python,_______ are used to define the conditions necessary for a while loop to run.
-BARSIC- [3]

Answer:

Relational Operators

Explanation:

We can make a while loop run only when some variable or whatever is relative to something else.

The valid operators are:

<, >, =, <=, >=, and =!

Hope this helped!

8 0
3 years ago
Read 2 more answers
Once you select select a crop boundary, you can no
Ket [755]

Answer:

The correct answer is False.

Explanation:

Once you have selected a crop boundary you can simply press the "Escape" key or the "no" symbol, which cancels the selection.

When you make a selection, everything that is outside of it will be covered with a darker color, this means that it will be discarded.

You can invert the selections, move them or cancel them. You can find these tools by moving the mouse cursor.

You can always change your mind in the area you want to cut, so you will always be allowed to cancel it and start again.

4 0
3 years ago
Insert a row above the selected row (in between row 1 and row 2).
vagabundo [1.1K]
Can you specify your question? is it in excel?
8 0
3 years ago
Read 2 more answers
Given a typical magnetic hard drive with five platters, answer the following:
Nataly_w [17]

Answer:

Given the number of platters =5

A. Hence, the number of recording surface =10

B. number of read-write heads =10

C. Number of arms holding the read-write heads = 10

Explanation:

We know that number of recording surface = 2 *( number of platters)

= 2*5=10

And the number of read-write heads = number of recording surface= 10

Also, number of arms holding the read-write head = one for each read-write head= 10

And hence, the above answer.

5 0
3 years ago
You are to calculate the property tax for tax payers. You will ask the county tax clerk if they want to run the program and init
andre [41]

Answer:

Explanation:

The following code is written in Java. It creates the loop as requested and validates the information provided before continuing, if the information is invalid it prints "Invalid Information to the screen" and asks the user to enter the information again. Finally, outputing all the requested information at the end of the program. The code has been tested and the output can be seen in the attached image below.

import java.util.ArrayList;

import java.util.Arrays;

import java.util.Scanner;

class Brainly {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       int totalValues = 0;

       int totalTaxes = 0;

       int count = 0;

       while(true) {

           int lotNumber, value;

           double tax;

           System.out.println("Would you like to add an Entry: 1=Yes 0=No");

           int answer = in.nextInt();

           if (answer == 1) {

               System.out.println("Please enter lot number: ");

               lotNumber = in.nextInt();

               if ((lotNumber >= 0) && (lotNumber <= 999999)) {

                   System.out.println("Please enter assessed value: ");

                   value = in.nextInt();

                   tax = value * 0.05;

                   System.out.println("Lot Number: " + lotNumber);

                   System.out.println("Property Value: " + value);

                   System.out.println("Property Tax: " + tax);

                   totalTaxes += tax;

                   totalValues += value;

                   count += 1;

               } else {

                   System.out.println("Invalid Lot Number");

               }

           } else {

               break;

           }

       }

       int average = totalTaxes / count;

       System.out.println("Total Property Values: " + totalValues);

       System.out.println("Total Property Taxes: " + totalTaxes);

       System.out.println("Average Property Tax" + average);

   }

}

8 0
3 years ago
Other questions:
  • In Java :
    11·1 answer
  • Why are prepositions, conjunctions, and pronouns usually considered poor choices to use as key words?
    5·2 answers
  • 1. Itemise the order in which BASIC executes arithmetic operation.
    13·1 answer
  • Encryption Using Rotate Operations Write a procedure that performs simple encryption by rotating each plaintext byte a varying n
    10·1 answer
  • Which flooring option is most economical
    11·1 answer
  • List the gcc command-line options for each of the following: Generate a .o file rather than an executable. Generate a .s (assemb
    6·1 answer
  • What do you expect the future trends of an operating system in terms of (a) cost (b) size (c) multitasking (d) portability (e) s
    12·1 answer
  • What is an issue with using cloud computing?
    15·1 answer
  • Whats the flow in this code, and whats the risk that its creating and what can i do to fix it? (c language)
    10·1 answer
  • The internet is controlled by ______
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!