Java advanced interview question list, java advanced interview

Source: Internet
Author: User

Java advanced interview question list, java advanced interview
Basic concepts and core design ideas of Object-Oriented Programming

  • This topic explains the polymorphism (polymorphism), encapsulation, cohesion, and coupling ).

  • What is the difference between Inheritance and Aggregation.

  • How do you understand Clean Code and Technical Debt.

  • Describes common refactoring techniques.

  • Describe the SOLID principle.

  • What are other principles such as KISS, DRY, and YAGNI.

  • What is Design Patterns )? What design patterns do you know?

  • Have you ever learned about Anti-Patterns?

  • How do you design the login ship/mathematical expression Computing Program/one-stop program?

  • What basic sorting algorithms do you know about their computing complexity? Which algorithm do you prefer to use when data is given?

  • Try to write the following code:
    -Calculate the factorial of a specified number
    -Develop Fizz Buzz games
    -Reversing words in a sentence
    -Retrieval string Detection
    -Enumerate all permutation and combination of a given string

Java core concepts
  • What are the similarities and differences between equals and hashCode? Java Collection is how to use them.

  • Describes the Java integration (Collections), interface (Interfaces), implementation (Implementations) concept. What is the difference between the ArrayList and ArrayList?

  • What is the difference between Primitives and Wrappers?

  • Where can the final and static keywords be used? What are their functions?

  • This section describes the Access Descriptor (Access Modifiers) in Java ).

  • Description of the differences between String, StringBuilder, and StringBuffer.

  • What is the difference between an Interface and an Abstract Class.

  • What is the difference between Overriding and OverLoading.

  • Which types of exceptions are involved? What are the so-called handle or declare principles?

  • Briefly describe how the garbage collector works.

  • How do you deal with Memory leakage or stack overflow?

  • How to build an unchangeable class structure? Where are the key points?

  • What is JIT compilation?

  • Java learning and communication QQ group: 589809992 let's learn Java together!

  • What new functions does Java 8/Java 7 provide for us? What new benefits will the coming Java 9 bring?-Yes?

Hibernate/Database
  • Please explain the ORM.

  • Briefly describe the advantages and disadvantages of Hibernate.

  • What is the difference between Hibernate and JPA?

  • What features does the latest Hibernate version provide?

  • What is Lazy Loading )?

  • What is N + 1?

  • This section describes some familiar Hibernate annotations.

  • Introduction to Hibernate Session and SessionFactory.

  • Status of Entity Beans.

  • The cache in Hibernate is divided into several layers.

  • What levels of transaction support are supported in Hibernate?

  • What is Optimistic Locking )?

  • Briefly describe the ACID principle.

  • Briefly describe the database Normalization (Normalizations ).

  • This section describes how to optimize the Slow Query policy in your daily work.

Spring
  • What are the new features of Spring?

  • This section describes the advantages and disadvantages of Spring.

  • What is Inversion of Control and Dependency Injection )?

  • Which Spring modules have you used?

  • In Spring, how does one use dependency injection?

  • How many automatic injection mechanisms are provided in Spring?

  • This section describes Spring MVC.

  • What are Scopes in Spring?

  • What are the steps for Bean lifecycle in Spring?

  • Java learning and communication QQ group: 589809992 let's learn Java together!

  • What is the difference between Spring Bean and EJB Bean?

Other topics
  • This article introduces Aspect Oriented Programming ).

  • The differences between GET and POST in this section.

  • What are the differences between Web Server, Web iner, and Application Server?

  • This section briefly introduces what happened to the Java Web application from entering the URL in the browser to obtaining the request interface.

  • What is an N-layer architecture?

  • What is the difference between MicroServices and Monolithic Applications?

  • What business-level design models do you know?

  • How did you test an application? What testing frameworks do you know?

  • How do you test a single method?

  • What are the most difficult technical challenges in your career?

  • What is Domain Driven Development )?

  • This section describes some common plug-ins of your favorite IDE.

  • In addition to IDE, what tools do you use in your daily work?

  • What version management tools do you use?

  • What is the difference between Branch and Tag?

  • What are your commonly used Continuous Integration and Static Code Analysis tools?

I have a public account, and I often share some Java-related dry goods. If you like my share, you can search for "Java head" or "javatuanzhang" to follow up.

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.