Quick notes on C + + object-oriented programming (course video link is attached)

Quick notes on C + + object-oriented programming 2022-2-3 C + + object-oriented programming B station course Cherno's course link Part 1: classobjectMember dataMember function (set, class student: { public: int age; string name; bool set(int a); bool set(string a); }; Object oriented code has at least three parts: C ...

Added by pedrolopes10 on Thu, 03 Feb 2022 13:57:48 +0200

Day08 static keyword and inheritance

Day08 static keyword and inheritance 1. Implementation of people class and test class package com.lagou.Day08; /** * Programming the encapsulation of People class */ public class People { //1. Privatize the member variable and use the private keyword to modify it private String name; private int age; private String country ...

Added by pdkv2 on Mon, 31 Jan 2022 16:13:18 +0200

Java object oriented

Object oriented and process oriented Process oriented: when a function needs to be realized, each specific step should be handled in detail. Object oriented: when I need to implement a function, I don't care about the specific steps, but find someone who already has the function to help me. import java.util.Arrays; public class Demo01PrintAr ...

Added by railanc4309 on Sun, 30 Jan 2022 19:32:30 +0200

Basic Java learning II -- classes and objects

1, Overview of classes and objects Classes and objects are the core of oriented programming. Class is used to describe the common characteristics of a class of objects in the objective world; An object is a concrete instance of a class. Before you know a complete Java program, make sure you understand a few nouns. What is an object? Official ...

Added by ixos on Sat, 29 Jan 2022 10:51:48 +0200

Summary of basic knowledge of python (here comes the benefits for beginners)... Life is short. I use python

Summary of basic knowledge of Python... Life is short. I use python preface Python is an easy to learn and powerful programming language. It provides efficient high-level data structure and simple and effective object-oriented programming. Python's elegant syntax and dynamic typing, as well as the essence of interpretive language, make it ...

Added by erikhillis on Fri, 28 Jan 2022 05:16:09 +0200

Python learning notes -- 10 Django framework quick start background management admin (book management system)

1, Introduction to Django framework Refer to official documents: Django official documents https://docs.djangoproject.com/zh-hans/3.2/ 2, Create the first Django project Create a new project - > select Django Django will be installed automatically If the network speed is too slow, you need to modify the pip source Modify pip sour ...

Added by vcv on Fri, 28 Jan 2022 03:12:38 +0200

Some common features of C++11 (stability and compatibility)

Some common features of C++11 (stability and compatibility) 1, Original literal The literal quantity defining the original string is added in C++11. The definition method is: R "xxx (original string) xxx", in which the strings on both sides of () can be omitted. The original literal R can directly represent the actual meaning of the ...

Added by abhikerl on Wed, 26 Jan 2022 05:27:44 +0200

Special members in Python object-oriented

I executive summary There are some special methods in python classes, such as__ XX__. Such methods are special members in python. They have special meaning and functions in python. Several common special members will be introduced below. The following describes the twelve common special members II Common members __ new__ Constructio ...

Added by ThaSpY on Tue, 25 Jan 2022 00:13:34 +0200

Object oriented design of nodejs tutorial

Learning background Object oriented programming is learning programming to find objects. en... I felt that for a long time, but I haven't found it yet. Maybe it's not pious enough. To get back to business, learning object-oriented plays a vital role in our learning programming. In the early days of programming, we completed the programming wi ...

Added by unlishema.wolf on Mon, 24 Jan 2022 05:32:51 +0200

Dart study notes

For the first time, I posted a blog. The whole layout is not very beautiful. Recently, I have been studying Dart (the soul of fluent. I think it doesn't make much sense to just do components). It may be that there are too many scientific Internet access, and Google is a little deep. Therefore, make some useful things into a document, write some ...

Added by fooDigi on Sat, 22 Jan 2022 21:41:17 +0200