Four basic characteristics of java -- encapsulation inheritance polymorphism abstraction

Catch up tomorrow or may day c small long holiday, ready to write a few original articles in these days, for everyone to learn together. First of all, let's have a good chat today. What are the features of java? How to use it? I believe there must be some Xiaobai who will be upset about it. It doesn't matter. Who hasn't come from that time! Ne ...

Added by Alanmoss on Mon, 04 May 2020 18:39:42 +0300

The timer of jQuery does not refresh, and there is no error message; adding debugging message shows that timer only executes once;

Performance: timer does not refresh, no error information is reported; add debugging information to show timer only executes once; reason: var timer = $.timer (1000, MAIN.show_time,false); //var timer = $.timer (1000, MAIN.show_time(),false); //The above comment is wrong, because when calling the callbac ...

Added by Sangre on Mon, 04 May 2020 07:44:02 +0300

Response object of Servlet

Response object Function: set response message Set response line Format: HTTP/1.1 200 ok Set status code: setStatus (int sc) Set response header: setHeader (String name, String value) Set response body Use steps Get output stream Character output: PrintWrite getWriter() Byte output stream: ServletOutputStream getoutputstream() Output ...

Added by SoaringUSAEagle on Sun, 03 May 2020 16:18:35 +0300

Flexmark Java markdown add target attribute to link

Flexmark Java is a java version of Markdown conversion tool, which basically supports all Markdown syntax and has good scalability. This paper mainly adds target attribute to link through extension form The extension of this article will also support Spring Properties for dynamic configuration, domain name exclusion, relative path exclusion, ...

Added by mcccy005 on Sat, 02 May 2020 22:44:19 +0300

Android learning notes - wake up your APP through the webpage and pass the reference

Preface I believe that we will find that many web pages have such functions in our life. One second ago, we were still on the web page, and one second later, we inexplicably entered their APP. So how does this effect work? After careful study, I found that android:scheme attribute is used to complete the function. Here's my personal opinion. ...

Added by designguy79 on Fri, 01 May 2020 02:44:39 +0300

Custom View - draw a moving Tai Chi diagram

Effect Taiji.gif Step breakdown Regular figures like Taiji are usually decomposed into basic figures by mathematical knowledge, such as line segment, circle, rectangle, sector, polygon, etc., and then drawn step by step. Decomposing Taiji diagram @Override protected void onDraw(Canvas canvas) { int width = getWidt ...

Added by sasikumar81 on Fri, 01 May 2020 02:44:01 +0300

Java String Source Analysis

String Source Analysis Class structure public final class String implements java.io.Serializable, Comparable<String>, CharSequence String class implements that Serializable can be serialized String class implements Comparable for comparison The String class implements that CharSequence can operate on Subscripts String classes are d ...

Added by jarv on Mon, 27 Apr 2020 20:35:10 +0300

Do you understand all these questions at the beginning of Python? (including learning path)

Python basic syntax learning path python concept level Expression → create and process objects Statement → include expression Logical unit → function or class, composed of statements Module →. py code file composition module Package → define a group of related files or modules (package is a folder, module is a file in ...

Added by AliceG on Fri, 24 Apr 2020 12:29:47 +0300

Extraction and reuse logic in the Vue3 Composition API

The Vue3 Composition API allows better organization of code in large projects.However, as you switch to a single setup method using several different option properties, the problem faced by many developers is... Would this be more confusing, because everything is in one way At first glance it may be easy, but it actually takes a little t ...

Added by uatec on Thu, 23 Apr 2020 04:06:24 +0300

WeihanLi.Npoi export Excel according to template

Intro The original export method is more suitable for simple export. Each data is in one row. Although the data column has a high degree of customization, if one data corresponds to more than one row, it can't be done. So we want to support export according to template. In version 1.8.0, the function of export according to template is introduc ...

Added by Thresher on Tue, 21 Apr 2020 18:03:02 +0300