Skip to main content

Posts

Featured

Java Streams

Streams A stream is a sequence of data.  In Java, a stream is composed of bytes.  It's called a stream because it is a continuous flow of data.   Use of I/O Streams: The primary use of I/O streams is to perform data transfer between a Java program and an external entity or another part of the same program. Common use cases include: File Operations:  Reading data from files and writing data to files. Network Communication:  Sending and receiving data over network connections (using  Socket s which provide  InputStream  and  OutputStream ). In-Memory Data Handling:  Treating byte arrays or character arrays as sources or destinations of data. Data Conversion:  Converting between byte streams and character streams using specified encodings. Buffering:  Improving the efficiency of I/O operations by reading or writing data in larger chunks. Data Formatting:  Writing formatted output using  PrintStream  and  PrintW...

Latest Posts

JAVA - IO Streams and Files

GIT - how to use git for your project

Django - What you need to know

Django - useful commands

Django - MVT explained

ADMS (ADVANCED DIPLOMA IN MERN/MEAN Stack)

DFPD (Diploma in Full Stack Python Developer)

DFJD (Diploma in Full Stack JAVA Developer)

Python Variables, Data Types

Python Programming - Statments, Indentation, comments - code examples