java basic interview questions

java basic interview questions (2) 1. The difference between Java and javasciprt. [Basic] A: JavaScript and Java are two different products developed by two companies. Java is a new generation of object-oriented programming language introduced by SUN, which is especially suitable for Internet application development. JavaScript, Netscape's pro ...

Posted on Sun, 05 Dec 2021 18:48:26 -0500 by bombayduck

Software design - Preliminary Thinking on modular design I

Software design - Preliminary Thinking on modular design I Modular design Note: modular design, in short, means that the programming does not start by inputting computer statements and instructions one by one, but first describes the main structure and process of the software with the framework of main program, subroutine and subprocess, And ...

Posted on Sun, 05 Dec 2021 17:58:17 -0500 by Volte

Wildlife protection system based on Spring MVC + Spring + MyBatis

Resource download: https://download.csdn.net/download/weixin_44893902/45603787 Exercise point design: fuzzy query, delete, add, modify 1, Language and environment Implementation language: JAVA language.Environment requirements: MyEclipse/Eclipse + Tomcat + MySql.Use technology: Jsp+Servlet+JavaBean or spring MVC + Spring + mybatis. 2 ...

Posted on Sun, 05 Dec 2021 17:52:36 -0500 by bigdaddysheikh

Database version management: flyway

flyway is a database migration tool that supports automatic backup and execution of SQL scripts. It is very convenient for us to deploy applications to multiple environments to initialize databases or upgrade database tables. 1, Why use flyway Let's make an analogy with the Git version control tool, which is often used now. It can well ...

Posted on Sun, 05 Dec 2021 16:53:47 -0500 by ivi

Crazy God said Java Web notes with the latest video

1. Basic concepts 1.1 Preface web development: Web, the meaning of web page, www.baidu.com·Static web html,sssThe data provided to everyone will never change! Dynamic web Taobao, almost all websites;The data provided to everyone will always change, and everyone will see different information at different times and places!Technol ...

Posted on Sun, 05 Dec 2021 16:24:27 -0500 by nicknax

Code Vulnerability Scanning Common Vulnerabilities

Code Vulnerability Scanning Common Vulnerabilities 1. Log Injection (Log Forging Vulnerability) Vulnerability Description Writing unauthenticated user input to a log file can cause an attacker to forge log entries or inject malicious information into the log. A bug in log forgery occurs when: Data enters the application from an untrusted ...

Posted on Sun, 05 Dec 2021 14:57:20 -0500 by AaZmaN

Object oriented: construction methods

Object oriented (7): construction method preface Example 1: class Student{ //Create a student class private String name; //Define member variable name private int age; //Define member variable age public void setName(String name){ //Defines the setName method of the name public this.name = name; // ...

Posted on Sun, 05 Dec 2021 14:56:14 -0500 by jjoske

My story with Java Thread

catalogue Inconsistent with the envisaged results 1 guess verification conclusion Inconsistent with the envisaged results 2   analysis The main thread and other sub threads are executed before execution Thread.join method CountDownLatch CyclicBarrier reference material Let's start with a simple code: public static void main(S ...

Posted on Sun, 05 Dec 2021 14:52:06 -0500 by shainh

Java description LeetCode, 135. Candy distribution

Hello everyone, I'm hehaige and focus on the back end. If I can, I want to be a code designer instead of an ordinary coder to witness the growth of hehaige. Your comments and praise are my biggest driving force. If you have any mistakes, please don't hesitate to comment. Thank you very much. Let's support the original! If there is a clerical er ...

Posted on Sun, 05 Dec 2021 14:30:42 -0500 by megaalf

On the underlying source code of ThreadPoolExecutor thread pool

1, Thread pool Basics The specific use details of thread pool are beyond the scope of this article. If you want to know the usage, please Baidu. Here is only a small Demo of thread pool The function of the thread pool is to use the thread pool to execute 100000 threads. The thread task implements the callable interface. Each threa ...

Posted on Sun, 05 Dec 2021 14:21:40 -0500 by Joe_Dean