Answer:
C. The main method proceeds to the next statement following the t3.join(); statement
Explanation:
join() method allows the thread to wait for another thread and completes its execution. If the thread object is executing, then t3.join() will make that t is terminated before the program executes the instruction. Thread provides the method which allows one thread to another complete its execution. If t is a thread object then t.join() will make that t is terminated before the next instruction. There are three overloaded functions.
join()
join(long mills)
join(long millis, int Nanos)
If multiple threads call the join() methods, then overloading allows the programmer to specify the period. Join is dependent on the OS and will wait .
Answer:
B
Explanation:
give answers next time pls so i can help you!!
Answer:
1. right click empty space, go to New, and click New Folder
2. press Ctrl + Shift + N
Explanation:
You may be talking about calling via WiFi, that is where you use WiFi to call people. That is normally used in tablets where you can't have a phone provider, so you just use WiFi to call and that saves a lot of money.
Answer:
txt = input("Enter numbers: ")
numbers = txt.split(" ")
total = 0
max = 0
for i in numbers:
total = total + int(i)
if(int(i)>max):
max = int(i)
print(round(total/len(numbers)))
print(max)
Explanation:
This solution is implemented using Python programming language
This prompts user for input
txt = input("Enter numbers: ")
This splits user input into list
numbers = txt.split(" ")
The next two line initialize total and max to 0, respectively
total = 0
max = 0
This iterates through the list
for i in numbers:
This sum up the items in the list (i.e. user inputs)
total = total + int(i)
This checks for the maximum
if(int(i)>max):
max = int(i)
This calculates and prints the average
print(round(total/len(numbers)))
This prints the max
print(max)