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
Andrei [34K]
3 years ago
13

Java what are synchronized functions.

Computers and Technology
1 answer:
adelina 88 [10]3 years ago
4 0

<h2>answer:</h2>

Synchronized method is used to lock an object for any shared resource. When a thread invokes a synchronized method, it automatically acquires the lock for that object and releases it when the thread completes its task.','.

You might be interested in
If you want to wrap text so that it fits a particular cell size, which formatting section would you use?
Pavlova-9 [17]

You would use the formatting section of alignment.

7 0
3 years ago
Read 2 more answers
Write a program that uses a custom function to return the cost of purchasing an item, possibly in multiple quantities. The item
alexandr402 [8]

Answer:

def cost(quantity, unit_price, taxable):

   if taxable == "Yes":

       total = (quantity * unit_price) + (quantity * unit_price * 0.07)

   elif taxable == "No":

       total = quantity * unit_price

   return total

q = int(input("Enter the quantity: "))

p = float(input("Enter the unit price: "))

t = input("Is %7 tax applicable? (Yes/No): ")

print(str("$" + str(cost(q, p, t))))

Explanation:

- Create a function called cost that takes three parameters, quantity, unit price, and taxable

- If the tax is applicable, calculate the total with tax. Otherwise, do not add the tax.

- Return the total

- Ask the user for the inputs

- Call the function with given inputs and print the result

3 0
3 years ago
Difference between a print device and a printer
dmitriy555 [2]
Print device is a manual machine that is not electronic it is like a mold where the printer is like a x-carv it has a axis that will move and lay down or burn a image into the object
8 0
4 years ago
A database admin uses a SHOW statement to retrieve information about objects in a database. This information is contained in a _
vlada-n [284]

Answer:

motherboard

Explanation:

i think

3 0
3 years ago
Jack was shocked to witness the sudden drop in performance of his laptop. He also found that the screen saver constant changed a
djyliett [7]

Answer: bootkit

This is the answer because the hacker was not trying to get any private information, so a bootkit would be the correct answer. A bookit uses a program to basically destroy your computer from the inside, starting from the motherboard.

Hope this helps!

8 0
3 years ago
Other questions:
  • Which signal types are represented by a continuous waveform?
    10·1 answer
  • What range of leakage current must trip an IDCI?​
    15·1 answer
  • What does an executable file contain? Program instructions written in source code. Program instructions that have been compiled
    15·1 answer
  • While working a night job at a call center, Eric creates an app called EatOut, which can be used to place orders at restaurants,
    14·1 answer
  • In a folder hierarchy, the top level is referred to as which of the following?
    7·1 answer
  • Melinda completed the Computer Programming Aptitude Test when she applied for a position with Beta Electronics. Six months later
    14·1 answer
  • The sun emits invisible _____&gt; A) electromagnetic waves B) Waves C) Radiation D) Wavelength E) Ultraviolet Light
    8·1 answer
  • How can I restore tabs that just unexpectedly close out of nowhere ?
    6·1 answer
  • Which of these is an example of output?
    13·2 answers
  • Within a master slide template, you can create a custom slide layout. Place the steps to complete this task in the correct order
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!