<< < … 10 11 12 13 14 15 16 17 18 19 20 … > >>   ∑:488  Sort:Date

Install JDK with "rpm" Command
This section provides a tutorial on how to download and install JDK packages from pkgs.org repository using 'rpm' command on CentOS systems.
2022-10-01, ∼425🔥, 0💬

References
List of reference materials used in this Java tutorial book.
2022-10-01, ∼425🔥, 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, ∼424🔥, 0💬

XSD (XML Schema Definition) - XML Validation
This chapter provides tutorial notes and example codes on XSD (XML Schema Definition). Topics include writing an XML XSD validator using JDK built-in XML parser; using 'http://apache.org/xml/feature s/validation/schema'feature on XMLReader objects; using Schema and Validator objects.
2022-10-01, ∼424🔥, 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, ∼424🔥, 0💬

Private key and Public Key Pair Generation
This chapter provides tutorial notes and example codes on private key and public key pair generation. Topics include public key encryption algorithms, RSA, DSA and DiffieHellman; private key and public key pair generation class and sample program; RSA, DSA, and DiffieHellman key pair samples.
2022-10-01, ∼423🔥, 0💬

Creating Class Type Objects
This section describes how class type objects can be created using the 'new' operator and special methods.
2022-06-24, ∼423🔥, 1💬

💬 2022-06-24 waryam: ok

Application Data Shared by Multiple Threads
This section provides a tutorial example on how to share application data by multiple threads. Data sharing allows multiple threads to work together on a single large task.
2022-10-01, ∼422🔥, 0💬

Comparing Message Digest Output of MD5 and SHA
This section a tutorial example on how to view and compare message digest output from two standard message digest algorithms MD5 and SHA.
2022-10-01, ∼420🔥, 0💬

"jrunscript" - Run JavaScript Interactively
This section provides a tutorial example on how to use 'jrunscript' to run JavaScript code interactively.
2022-10-01, ∼420🔥, 0💬

Socket Network Communication
This chapter provides tutorial notes and example codes on socket network communication. Topics include introduction to socket communication; creating a server socket and listening for connection requests; creating a client socket and connects to a server socket; creating server application for multi...
2022-10-01, ∼419🔥, 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, ∼419🔥, 0💬

Reading and Writing Certificates in DER and RFC Formats
This section provides test results of using my JcaCertificateTest.java program to read in certificates in DER and RFC formats. Those certificates are generated with the 'keytool' command tool.
2022-10-01, ∼419🔥, 0💬

Runtime.getRuntime() - Getting the Runtime Object
This section describes the system Runtime object and the Runtime.getRuntime() method to get it from the JVM.
2022-10-01, ∼419🔥, 0💬

What Is Date-Time API
This section provides introductions on what the Date-Time API introduced in Java 8 (JDK 1.8). The Date-Time API is replacing the java.util.Date class and the java.util.GregorianCalendar class.
2022-10-01, ∼418🔥, 0💬

java.time.ZonedDateTime - Calendar and Timezone
This section describes the java.time.ZonedDateTime class that represents a moment of time expressed in 3 components, ISO 8601 date, time of day, and timezone.
2022-10-01, ∼418🔥, 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, ∼418🔥, 0💬

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

"ThreadGroup" Class - Container of Threads and Thread Groups
This section describes the 'ThreadGroup' class and its main methods. A 'ThreadGroup' object is a container of threads and thread groups.
2022-10-01, ∼418🔥, 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, ∼418🔥, 0💬

Bitwise Operations on "byte" Values - Example Program
This section provides a tutorial example on how 4 types of bitwise operations, 'And', 'Or', 'Exclusive Or', and 'Complement' works on 'int' values.
2022-10-01, ∼417🔥, 0💬

"jrunscript -f" - Run JavaScript in Batch Mode
This section provides a tutorial example on how to use 'jrunscript -f ...' to run JavaScript code in batch mode.
2022-10-01, ∼416🔥, 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, ∼416🔥, 0💬

Importing Classes from Unnamed to Named Packages
This section provides a tutorial example on how to import classes defined in an unnamed package to a named package. The imported class must be defined as 'public'.
2022-10-01, ∼415🔥, 0💬

<< < … 10 11 12 13 14 15 16 17 18 19 20 … > >>   ∑:488  Sort:Date