(一)Java 中 final 关键字的用法总结 一、final 的基本用法1、修饰类final修饰一个类时,表示该类不能继承。比如下面的写法就是错误的: 123456final class A{}class B extends A{} 而且对于类、方法来说,abstract关键字和final关键字不能同时使用,因为矛盾。有抽象方法的abstract类被继承时,其中的方法必须被子类Override,而f 2023-01-12 Java基础知识 #开发语言 #java #jvm
对环境变量的探究 〇、环境变量是什么?在使用 Windows 操作系统时我发现,在安装一个新的工具包后,是无法直接使用这个工具包的。计算机相关专业的学生在配置 VScode 时会感受颇深,他们往往得下载一个 MinGW,之后就得配置环境变量。配好之后,就可以在 cmd 窗口输入gcc -v来看是否配置成功了。 在不同的平台,比如 macOS下,装好工具之后,也得把工具的目录导入到一个.zshrc中,之后键入so 2023-01-10 OS #c++ #macos #vscode #ide
macOS下binutils 的安装 安装输入: 1brew update && install binutils 之后弹出: 123456789binutils is keg-only, which means it was not symlinked into /usr/local,because because Apple provides the same tools and binutils is poo 2023-01-10 Some_Tools #服务器 #linux #macos
2022 Personal Summary 1. Write in FrontI had this idea very early on, to record myself every year, summarize the gains and shortcomings of this year, and compare whether I have made progress and whether my life has beco 2023-01-10 Personal_Summary #个人总结
Analysis of the Location of Initialized/Uninitialized Global/Static/Local Variables/Constants in Mem Development tools macOS(Apple M1) VScode otool binutils Let’s start with a simple program1234567891011121314151617#include <unistd.h>int global_init_a = 1;char global_init_b = 'a';i 2023-01-10 Things about C #linux #vscode macos #c++
Design a Dynamic Expansion Buffer (strbuf) with C Language Here is it!1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 2023-01-01 Tests for Basic Knowledge of C #开发语言 #c语言
(1) DNS Protocol Analysis Based on Wireshark at the Application Layer What is DNSDNS (Domain Name System) is the English abbreviation of “Domain Name System”. It is a computer and network service naming system organized into a domain hierarchy. It is used in TCP/ 2022-12-31 NetWork #wireshark #网络 #服务器
Start to write a simple Linux kernel Module Start to write a simple Linux kernel ModuleStep 1 Create a folderCreate a suitable folder, this folder will contain the source program and other compiled files. 1➜ mkdir Mooc && cd Mooc Ste 2022-12-28 OS #服务器 #linux #运维
About the problem of struct structure assignment About the problem of struct structure assignment1: Shallow copyThe abstract data structure instance of the struct structure can be directly assigned, see this example: 12345678910111213141516171819 2022-11-29 Things about C #linux #c
Solutions for Xiyou Linux Group 2020 Interview Questions Solutions for Xiyou Linux Group 2020 Interview Questions Thanks to Zhilu for re-entering the original title. Good people live in peace. Note: This question is only used as a limited reference for 2022-11-16 Tests for Basic Knowledge of C #算法 #linux #c++