Internship highlights 2

Source: Internet
Author: User
1. Introduction to map in Java 2. Is map thread security in Java? 3. How can we make map like hashMap safe, and other alternatives 4. What are the ways to implement synchronization? 5. How is synchronized used? 6. What is the difference between synchronized object binding and synchronized method binding? 7. Between threads

1. Introduction to map in Java 2. Is map thread security in Java? 3. How can we make map like hashMap safe, and other alternatives 4. What are the ways to implement synchronization? 5. How is synchronized used? 6. What is the difference between synchronized object binding and synchronized method binding? 7. Between threads

1. Introduction to map in Java

2. Is the map thread of Java Secure?

3. How can I make map like hashMap safe and other alternatives?

4. How to implement synchronization?

5. How is synchronized used?

6. What is the difference between synchronized object binding and synchronized method binding?

7. Collaboration between threads. For example, when a thread occupies resources, other threads are in the blocking status. After the threads are used up, they are released and other threads are notified when they are released. How can this problem be achieved? What is a keyword?

8. When try is followed by finally, what is the role of finally?

9. Which core classes are used to access a file and read a file in Java?

10. i/O operations are related to disk writing. To improve performance, the operating system may use some caches, which may not be written to the disk, but to the operating system cache, we have to write the content to the disk forcibly. How can this problem be achieved? For mandatory synchronization and then close, how does this synchronization work?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.