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
Now the y0utube home screen is gone
erik [133]

Answer:

oh no thanks not good

Explanation:

did you try it on a different device mabye a phone

7 0
3 years ago
Read 2 more answers
Ursa Major Solar wants to automatically notify a manager about any cases awaiting a response from an agent for more than 2 hours
weqwewe [10]

The feature that the administrator has to use to fulfill this requirement is a  Case Escalation Rule.

The answer to this question is option A.

<h3>What is a case escalation rule?</h3>

This is what is used to reroute a case. It has the ability of passing notifications to a user after a given length of time has gone by.

With this rule the person would be able to make the choice is the case is to be escalated or if it should be passed to a different user.

Read more on the Case Escalation Rule here:

brainly.com/question/14161284?referrer=searchResults

An escalation rule automatically reroutes a case and can notify a user if the case remains open after a certain period of time has passed. With an escalation rule, you can: Choose to escalate a case to a queue or to another user.

3 0
2 years ago
k- Add the code to define a variable of type 'double', with the name 'cuboidVolume'. Calculate the volume of the cuboid and set
djverab [1.8K]

Answer:

Here is the JAVA program to calculate volume of cuboid:

import java.util.Scanner; // Scanner class is used to take input from user

public class CuboidVol { // class to calculate volume of cuboid

public static void main(String[] args) { // start of main() function body

Scanner input= new Scanner(System.in); //create Scanner class object

// prompts user to enter length of cuboid

System.out.println("Enter the cuboid length:");

double length=input.nextDouble(); //reads the input length value from user

// prompts user to enter width of cuboid

System.out.println("Enter the cuboid width:");

double width=input.nextDouble(); //reads the input width from user

// prompts user to enter height of cuboid

System.out.println("Enter the cuboid height:");

double height=input.nextDouble(); //reads the input height from user

/* the following formula is to calculate volume of a cuboid by multiplying its length width and height and a double type variable cuboidVolume is defined to store the value of the resultant volume to it */

double  cuboidVolume= length*width*height; //calculates cuboid volume

//displays volume of cuboid and result is displayed up to 2 decimal places

System.out.printf("Volume of the cuboid (length " + length + "/ height " + height + "/ width" +width +" is: " + "%.2f",cuboidVolume);   } }

Explanation:

The formula for the volume of a cuboid is as following:

Volume = Length × Width ×  Height

So in order to calculate the volume of cuboid three variable are required for length, width and height and one more variable cuboidVolume to hold the resultant volume of the cuboid.

The program is well explained in the comments added to each statement of the program. The program prompts the user to enter the value of height width and length of cuboid and the nextDouble() method is used to take the double type input values of height length and width. Then the program declares a double type variable cuboidVolume to hold the result of the volume of cuboid. Then the last printf statement is used to display the volume of cuboid in the format format "Volume of the cuboid (length  / height  / width ) is" and the result is displayed up to 2 decimal places.

The screenshot of the program along with its output is attached.

7 0
3 years ago
When working with numerical data and creating charts, it makes sense to use microsoft: power point. word. access. excel.?
Gekata [30.6K]
I'd personally use word!!!
6 0
3 years ago
Electric Charge Question 2 options: Kinetic Energy Radiation Electricity Discovery
ExtremeBDS [4]

Answer:

Electric charge is related to electricity.

Explanation:

Electric energy or electricity is a physical phenomenon that occurs as a result of electrical charges and the interaction between them. In this way, electrons and protons are the main subatomic particles responsible for their appearance.

Electricity can originate or transmit by causing the movement of electrical charges from one point to another. It is a very common situation within nature itself, where electrical energy manifests itself in various ways, transforming into other types of energy. Examples of this phenomenon are electrical storms or the nervous system of living beings.

8 0
3 years ago
Other questions:
  • QUESTION 8 Software applications that generate information are located in the first tier of n-tier architectures. True False
    7·1 answer
  • if your computer is frozen, what is something you would do to troubleshoot the problem? A. check if the monitor is plugged in B.
    15·2 answers
  • Write a function that implements another stack function, peek. Peek returns the value of the first element on the stack without
    11·1 answer
  • Convert 4.5 strides to girth
    10·1 answer
  • Consider a Games Expo for Children. Six competitions are laid out for the expo. Tickets are sold according to the age and gender
    11·1 answer
  • WILL UPVOTE ALL
    10·1 answer
  • In a singing competition, there are 34 more men than women
    5·2 answers
  • Why am I not getting the activation link for my account?
    11·1 answer
  • What is the first step in finding a solution to a problem
    13·1 answer
  • Majken is turning 18 years old soon and wants to calculate how many seconds she will have been alive.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!