Use FileWriter class to write files in Java

The FileWriter class extends from the OutputStreamWriter class. This class writes data to the stream character by character. You can create the required objects through...

vim tutorial: vim delete line

Vim delete lines, as the basic knowledge of vim is one of the functions we must master. Mastering the skills of deleting lines can improve...

awk replace statement and examples

Awk replace statement can help us format the input data conveniently. Use of awk string manipulation functions: gsub() ...

vim tutorial: vim copy, cut and paste

This article will show you how to use vim to copy-paste and cut-paste in normal mode. ①y stands for copy ②p stands for paste ③d...

java tutorial: Java Generic

Java generics, in a nutshell, generics enable types (classes and interfaces) to be parameters when defining classes, interfaces and methods....

java tutorial: Java exception

A java exception is an event that occurs during the execution of a java program that disrupts the normal flow of instructions....