Advanced Java - buffer stream, conversion stream, serialization stream, print stream

1, Buffer stream Buffer stream is also called efficient stream, which is an enhancement of four basic FileXxx streams. Therefore, it is also four streams, which are divided into: Byte buffer stream: BufferedInputStream,BufferedOutputStream Character buffer stream: BufferedReader,BufferedWriter Basic principle of buffer flow: When creating ...

Posted by FaT3oYCG on Wed, 09 Feb 2022 23:51:40 +0100

Java learning notes -- abnormal knowledge notes

Combine learning and rookie notes ~ attach the website about exceptions in the rookie tutorial https://www.runoob.com/java/java-exceptions.html Why should we handle exceptions? When an exception is encountered during the execution of the program (the exception is usually difficult to solve, such as the disconnection exception caused by unplu ...

Posted by pages on Wed, 09 Feb 2022 23:02:15 +0100

Development and growth path (18) -- back end of DIY management system in sophomore year

preface Originally, I thought this project was very incompetent. After all, I didn't pass the stress test in the end. I dare not submit my resume even when I submit it. But after communicating with the counselor yesterday, what's embarrassing? Even if I'm working on a project now, it's difficult to meet people's expectations. But what ...

Posted by Brown on Wed, 09 Feb 2022 11:29:41 +0100

Songboy Java polymorphism and genericity

polymorphic Three characteristics of object-oriented: inheritance, encapsulation and polymorphism definition Polymorphism: refers to the same behavior, which has multiple different manifestations for different objects. Polymorphism in program: it refers to that the same method has different implementations for different objects Preconditions ...

Posted by jvquach on Wed, 09 Feb 2022 11:27:30 +0100

Java course experiment - Experiment 6_ Collection class

catalogue 1, 2, 3, 4, 5, 6, 7, 8, 1, Add the following data: "hello", 123, 6.9, "hello", "hello", StringBuffer s=new StringBuffer("abc"); Add s in an ArrayList object and output the result. • practice modifying elements, getting elements, and printouts. • find the element "hello ...

Posted by Zaid on Wed, 09 Feb 2022 07:38:05 +0100

The essence of Kafka is written in this "limited notes", an online interview guide

1, Foreword Recently, the company's project is ready to start reconstruction, and the framework is selected as Spring Boot. This article mainly records the process of building Spring Boot Maven multi module project in IDEA. This article can be said to be a complete dry goods of practical projects. Interested friends can continue to read it Al ...

Posted by batfink on Wed, 09 Feb 2022 06:01:07 +0100

Introduction to netty

I What is netty? Why use netty Netty is an open source java framework provided by jboss. Netty provides asynchronous and event driven network application framework and tools to quickly develop high-performance and high availability network server and client programs. In other words, netty is a nio based programming framework. Using netty can qu ...

Posted by nobodyk on Wed, 09 Feb 2022 05:25:23 +0100

File class, recursive algorithm, IO stream

1, File class Class represents platform independent files and directories File # can create, delete and rename files and directories, but file cannot access the file content itself. If you need to access the file content itself, you need to use input / output streams. 1. Constructor: public class TestFile { public static void main(Strin ...

Posted by fredmeyer on Wed, 09 Feb 2022 03:46:11 +0100

Chapter 7 exceptions, assertions, and logs

Chapter 7 exceptions, assertions, and logs 7.1 handling errors 7.1.1 anomaly classification The following figure is a simplified diagram of the Java exception hierarchy Error Describes the internal errors and resource exhaustion errors of the Java runtime system Exception RuntimeException Bad type conversion.Array access out of ...

Posted by RyanJones on Wed, 09 Feb 2022 01:54:14 +0100

I understand the principle of geohash and practice the practical design ideas. The interviewer won't laugh at me!

preface Hello, guys, I'm amu! A programmer who likes to share technical points through actual project practice! Have you ever encountered the scene of being ridiculed by the interviewer; Before, there was a junior who just graduated from primary school (Internet cafe in University, temporary cramming after graduation) who was interviewed in a ...

Posted by michaelpalmer7 on Wed, 09 Feb 2022 00:45:00 +0100