<< < 6 7 8 9 10 11 12 13 14 15 16 > >>   ∑:488  Sort:Rank

Deadlock Condition Example Programs
This chapter provides tutorial notes and tutorial examples to demonstrate deadlock condition. Topics include what is deadlock condition; deadlock examples - 5 Dining Philosophers and Transferring Funds.
2022-10-01, ∼359🔥, 0💬

The "Runnable" Interface - Creating Thread Objects with Runnable Objects
This section provides a tutorial example on how to create new threads with the 'Thread' class and runnable objects, which are created with classes that implements the 'Runnable' interface.
2022-10-01, ∼358🔥, 0💬

java.time.OffsetDateTime Usage Examples
This section provides a tutorial example on how to use the java.time.OffsetDateTime class to record and manipulate date and time local to specific UTC offset. Operations on java.time.OffsetDateTime objects respect ISO 8601 calendar rules. But they do not respect local timezone rules.
2022-10-01, ∼357🔥, 0💬

Literals of Primitive Types
This section describes how to use literals to represent primitive data values in Java source code. Examples are: 911, 0x38fL, '\n', 3.14F, 1e137, 0x1p3, true, etc.
2022-10-01, ∼355🔥, 0💬

"assert" Statements
This section describes 'assert' statement, which allows you to make an assertion in the execution flow. 'assert' statements are executed only when -ea' JVM option is specified.
2022-10-01, ∼355🔥, 0💬

JDK Documentation Installation
This section describes how to install JDK Documentation on your own machine.
2022-10-01, ∼353🔥, 0💬

Java Related Terminologies
This chapter provides a list of terminologies related to Java programming language.
2022-10-01, ∼353🔥, 0💬

Java Logging
This chapter provides tutorial on Java Logging. Topics include introduction of Logger, LogManager, Handler, Formatter classes; Logger parent and tree; ConsoleHandler and FileHandler; SimpleFormatter and XMLFormatter; using logging configuration files.
2022-10-01, ∼352🔥, 0💬

What Are Bits and Bytes
This section describes bits and bytes as data storage units and as data types.
2022-10-01, ∼352🔥, 0💬

"jcmd 0 VM.*" - Running VM Diagnostic Commands
This section provides a tutorial example on how to use 'jcmd 0 VM.*' commands to get lot of information of a given JVM.
2022-10-01, ∼351🔥, 0💬

References
List of reference materials used in this Java tutorial book.
2022-10-01, ∼351🔥, 0💬

Types of Collections of Elements
This section describes different types of collections: set, list and map. Set stores elements with no positions nor keys. List stores elements with positions. Map stores elements with keys.
2022-10-01, ∼349🔥, 0💬

HttpsClient.java Failed with JDK 1.8
This section provides a tutorial example showing HttpsClient.java failed to complete the communication at the application level. But it works with SSL debug mode turned on.
2022-10-01, ∼349🔥, 0💬

javax.crypto.KeyGenerator - Generating Secret Keys
This section provides a quick introduction of the secret key generation class, javax.crypto.KeyGenerator.
2022-10-01, ∼348🔥, 0💬

Reference Data Types and Variables
This chapter provides tutorial notes and example codes on reference data types and variables. Topics include 5 reference data types; reference data type variables store references to objects; multiple variables referring to a single object; superclass-subclass relation; superinterface-subinterface r...
2022-10-01, ∼347🔥, 0💬

Control Flow Statements
This chapter provides tutorial notes and Control Flow Statements. Topics include decision-making statements: 'if' and 'switch' statements; looping statements: 'for', 'while' and 'do' statements; branching statements: 'break', 'continue', and 'return' statements.
2022-10-01, ∼347🔥, 0💬

Java Execution Console - "in", "out" and "err" Data Streams
This section provides a tutorial example on how to use default input and output data streams: System.in, System.out and System.err.
2022-10-01, ∼346🔥, 0💬

RSA Private Key and Public Key Pair Sample
This section provides a tutorial example on how to run JcaKeyPair.java to generate a RSA private key and public key pair sample. Keys are stored PKCS#8 and X.509 encoding formats.
2022-10-01, ∼345🔥, 0💬

Secret Key Generation and Management
This chapter provides tutorial notes and example codes on secret keys. Topics include secret keys for Blowfish, DES, or HmacMD5 encryption algorithms; key generator class; test program to generate secret keys and save them in files.
2022-10-01, ∼345🔥, 0💬

Class Type Variables Storing References
This section describes how references of class objects are stored in class variables of the same class type.
2022-10-01, ∼345🔥, 0💬

No-Element (Marker) Annotation Invocation
This section provides a tutorial example on how to use the marker format in annotation invocation statements, if no annotation elements are needed.
2022-10-01, ∼345🔥, 0💬

Charset.encode() - Method to Encode Characters
This section provides a tutorial example on how to encode characters with a given encoding using different encoding methods provided by JDK: Charset.encode(), CharsetEncoder.encode(), String.getBytes(), OutputStreamWriter.write().
2022-10-01, ∼344🔥, 0💬

Download and Install JDK 20 on macOS
This section describes how to download and install JDK 20 on a macOS computer.
2022-10-01, ∼344🔥, 0💬

DSA Private Key and Public Key Pair Sample
This section provides a tutorial example on how to run JcaKeyPair.java to generate a DSA private key and public key pair sample. Keys are stored PKCS#8 and X.509 encoding formats.
2022-10-01, ∼343🔥, 0💬

<< < 6 7 8 9 10 11 12 13 14 15 16 > >>   ∑:488  Sort:Rank