Java Side Question notes

Source: Internet
Author: User

  1. What are the aspects of object-oriented features?
  2. Is String the most basic type of data? What is the difference between String and StringBuffer?
  3. Can I store a Chinese character in a char variable? Why?
  4. Java class can inherit more, how to implement multiple inheritance?
  5. Say Arraylist,vector,linkedlist's storage performance and features.
  6. Interface can inherit interfaces? is an abstract class achievable (implements) interface?
  7. When an object is passed as a parameter to a method, this method can change the properties of the object and return the changed result, is it a value pass or a reference pass?
  8. There are several ways to implement multithreading, what is it? There are several implementations of synchronization, what are they?
  9. What are the options for sorting? Please list
  10. Use Java to implement a sorting algorithm.
  11. int sum=0;
    for (int i=0;i<10;++i) {
    if (i>5) {
    Break
    }

    if (i<3) {
    Continue
    }

    Sum+=i;
    }

    SYSTEM.OUT.PRINTLN (sum);
    }
  12. Use Java or C + + to implement a data structure for a doubly linked list, and a way to insert and find a doubly linked list.
  13. A program that uses Java or C + + to implement thread deadlock.

Java Side Question notes

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.