What are the two ways you can synchronize a block of code?

Answer Posted / guest

bu using thread in your main program

Is This Answer Correct ?    2 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object-oriented programming?

814


Can we have try without catch block?

881


Why do we need data serialization?

761


What is a cup of java?

812


Is hashset ordered java?

846


What is percentage in java?

798


Can we override singleton class?

759


What is the difference between a switch statement and an if statement?

795


Why is an interface be able to extend more than one interface but a class can’t extend more than one class?

962


Why is java not 100% pure oops?

842


Is 0 an even number?

772


Does java support function overloading, pointers, structures, unions or linked lists?

855


What happens if constructor is private?

814


How many arguments can a method have java?

835


What is identifier with example?

824