JAVA object-oriented and other basic concepts

JAVA object-oriented -- basic concepts of classes and objects References: Niuke network , this content is only a summary of my learning knowledge. What is an object One. Two ideas: Process oriented: analyze the steps to solve the problem, then use functions to realize each step one by one, and call these functions again.Object oriented: ...

Added by stokie-rich on Mon, 08 Nov 2021 01:27:59 +0200

100 cases of classic C language (91-100)

Source of all questions: Rookie tutorial C language classic 100 cases Attach the previous title: 100 cases of classic C language (81-90) catalogue C exercise example 91 C exercise example 92 C exercise example 93 C exercise example 94 C exercise example 95 C exercise example 96 C exercise example 97 C exercise example 98 C exercise example 9 ...

Added by kokomo310 on Mon, 08 Nov 2021 00:52:28 +0200

2021-11-07 HashMap operation, summarize

Check every HashMap operation, and finally take the time to summarize it 1, Basic operation of HashMap 1. Create HashMap<Integer,String> map = new HashMap<>(); 2. Add //Time complexity O(1), obtain the memory address through the hash function, and then put it into memory //map.put(key,value) map.put(1,"lihua"); 3. Renew map. ...

Added by trent2800 on Mon, 08 Nov 2021 00:01:38 +0200

java foundation - = = and equals methods

1.1, = = and equals methods    there are two ways to test whether two variables are equal in Java programs: one is to use the "= =" operator, and the other is to use the equals() method. When = = is used to judge whether two variables are equal, if the two variables are basic type variables and both are numeric types (the d ...

Added by tomato on Sun, 07 Nov 2021 20:27:07 +0200

spring Series - JDBCTemplate and spring MVC interceptors

3.6,Spring JDBC Template 3.6.1, overview of JdbcTemplate It is an object provided in the spring framework and is a simple encapsulation of the original cumbersome jdbc API objects. The spring framework provides us with a number of operation template classes. For example, Jdbc Template and Hibernate Template for manipulating relational data, R ...

Added by Weiry on Sun, 07 Nov 2021 18:18:03 +0200

2021-11-07 C + + encapsulation inheritance polymorphism -- basic concept relationship between class and object, initialization and cleaning of object (with code understanding)

1 concept and relationship of class and object Class is an abstraction of a class of things with common attributes and behaviors in real life Characteristics of class: 1. Class is the data type of object. 2. Class is a collection of objects with the same attributes and behaviors What are the properties of an object? Attributes: various charact ...

Added by marksie1988 on Sun, 07 Nov 2021 05:21:18 +0200

2021-10-25 Java language foundation Day06

Today's content 1, Classes and objects 1. Overview of object-oriented thought package cn.itcast.day06.demo01; import java.util.Arrays; /* Process oriented: when a function needs to be implemented, each specific step should be handled in detail. Object oriented: when I need to implement a function, I don't care about the specific step ...

Added by mark_h_uk on Sun, 07 Nov 2021 04:18:05 +0200

Sorting java knowledge

  If there are any deficiencies, please correct them. Thank you very much and learn together.                                      catalogue sort Common sorting algorithms Bubble sorting Insert sort Select sort Shell Sort Merge sort Quick sort sort          The so-called sorting is t ...

Added by jaz529 on Sun, 07 Nov 2021 00:07:41 +0200

6, Spring Boot integrates Shiro

6.1. Integration ideas 6.2. Create spring boot project Create a new webapp directory under main 6.3. Introducing shiro dependency <!--introduce Shiro rely on--> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-spring-boot-starter</artifac ...

Added by adamjblakey on Sat, 06 Nov 2021 22:38:00 +0200

C language - preliminary notes 1

c getting started 1 Header file include < stdio. H >int main(){}gcc compile-o changed to executable name c getting started 2 2.1 basic data types: character type, integer type and floating point type 2.1.1 character type. A single character needs to be enclosed in single quotation marks and placeholder% c2.1.2 integer,% d2.1.3 floatin ...

Added by cjdesign on Sat, 06 Nov 2021 16:50:41 +0200