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
umka2103 [35]
3 years ago
7

When defining a class, it is a best practice to declare ____ as private. constructors mutators nothing should be private accesso

rs variables
Computers and Technology
1 answer:
katrin [286]3 years ago
6 0

Answer:

The answer is "variables".

Explanation:

It is necessary to declare a variable privately when declaring a class because the private variable 'protects' the code while it is in operation. It may not aim to protect it at this stage from changing the codes themselves for other developers. Its purpose of the so-called "data hiding" is to hold the internal data from many other classes using the class protected.

You might be interested in
How dose computers it use the information to solve problems
S_A_V [24]

Answer:

A programmer's job is to find solutions. They break down problems into easy steps for a computer. 

Explanation:

hope I'm helping you!

8 0
3 years ago
What does the word “Gacha” come from??????
natka813 [3]

Answer:

The word gacha is derived from "gachapon", Japanese vending machines that dispense plastic capsules containing toys, which are still hugely popular in Japan today. Gachapon is the satisfying sound the machine makes when a player spins a gacha and receives a toy.

Explanation:

3 0
3 years ago
Read 2 more answers
The Internet was first used by which of the following institutions?
Phantasy [73]

Answer:

U.S Department of Defense

Explanation:

(btw nazi party was around before the internet and ended before the internet therefor couldn't be that)

5 0
3 years ago
Define a function print total inches, with parameters num_feet and num_inches, that prints the total number of inches. Note: The
GenaCL600 [577]

Answer:

   <em>public static void printTotalInches(double num_feet, double num_inches){</em>

<em>        double inches = 12*num_feet;</em>

<em>        System.out.println("Total value in feets is: "+(inches+num_inches));</em>

<em>    }</em>

This function is written in Java Programming Language. Find a complete program with a call to the function in the explanation section

<em>Explanation:</em>

<em>public class ANot {</em>

<em>    public static void main(String[] args) {</em>

<em>//Calling the function and passing the arguments</em>

<em>    printTotalInches(5,8);</em>

<em>    }</em>

<em>    public static void printTotalInches(double num_feet, double num_inches){</em>

<em>        double inches = 12*num_feet;</em>

<em>        System.out.println("Total value in feets is: "+(inches+num_inches));</em>

<em>    }</em>

<em>}</em>

6 0
3 years ago
How to program chamberlain universal garage door opener?
vodomira [7]
Prior to purchasing the universal garage door remote, verify the brand and model number of the garage door opener are included, and that the frequencies of the opener and the universal remote match. Find the brand and model number that matches the garage door opener. Key that code into the remote and press enter. Test the garage door by pressing the button on the remote. If the code works, the garage door opens and closes on cue
7 0
4 years ago
Other questions:
  • Cloud computing is the fastest growing form of computing. <br> a. True <br> b. False
    9·1 answer
  • What type of computer is likely to use so-dimms, have an internal power supply, and use a desktop processor socket?
    10·1 answer
  • Write a program that reads a series of strings andprints only those strings beginning with the letter "b."
    7·1 answer
  • In a proper webpage which tag holds all of a webpages visible HTML?
    9·2 answers
  • The _____ element of the wsdl describes the data being exchanged between the web service providers and the consumers, including
    12·1 answer
  • A company's desire to sell products and services: A. will ultimately lead to its doom. B. explains why the web took off C. can d
    9·2 answers
  • To control how and when the slides should appear during the slide show, we use the__________________ feature​
    12·1 answer
  • What happens when i expose a disk to magnetic fields?​
    5·1 answer
  • Create 2 methods of your choice.
    5·1 answer
  • Which unknown factor affects prices in the financial markets?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!