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

Charset.decode() - Method to Decode Byte Sequences
This section provides a tutorial example on how to decode byte sequences back to characters with a given encoding using different decoding methods provided by JDK: CharsetDecoder.decode(), Charset.decode(), new String(), InputStreamReader.read()
2025-09-12, ∼271🔥, 2💬

💬 2021-07-27 aqweqweqwe: %2fWebForms%2fLogin.aspx%3fReturnUrl %3d%252fWebForms%252f...

One Class in an Unnamed Package - Hello.java
This section provides a tutorial example on how to place one Java class in an unnamed package and how to compile and run the class in an unnamed package.
2022-10-01, ∼271🔥, 0💬

Garbage Collection and the gc() Method
This chapter describes the garbage collection supported provided by Java. Topics include unused objects, the JVM automatic garbage collection process, the garbage collection method gc() on the default Runtime object.
2022-10-01, ∼270🔥, 0💬

Establishing a Socket Communication Link
This section describes how to establish a socket communication link. A server application runs a socket in listen mode and a client application connects a client socket to the server socket.
2022-10-01, ∼269🔥, 0💬

What Is a Socket?
This section describes what is a socket - An concept represents one end-point of a two-way communication link between two programs running on the Internet network.
2022-10-01, ∼268🔥, 0💬

DTD (Document Type Definition) - XML Validation
This chapter provides tutorial notes and example codes on DTD (Document Type Definition). Topics include writing an XML DTD validator using DOM and SAP interfaces; overriding error handler methods to print validation errors.
2022-10-01, ∼268🔥, 0💬

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

DOMBrowser.java - Browsing DOM Tree Structure
This section provides a tutorial example on how to write a DOM object browser, DOMBrowser.java, to browse through the DOM object tree structure and print the content at each tree node.
2022-10-01, ∼267🔥, 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, ∼267🔥, 0💬

Enum Constant Inherited Methods
This section provides a tutorial on how to invoke static and instance method inherited from the generic base class of java.lang.Enum.
2022-10-01, ∼267🔥, 0💬

Calling and Importing Classes Defined in Unnamed Packages
This chapter provides tutorial notes and example codes on localization methods and resource bundles. Topics include using java.text.SimpleDateFormat and java.text.DecimalFormat locale sensitive methods; using java.util.ResourceBundle class to define localization resource bundles; using java.util.Pro...
2022-10-01, ∼266🔥, 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, ∼266🔥, 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, ∼265🔥, 0💬

Character Set Encoding Classes and Methods
This chapter provides tutorial notes and example codes on character set related classes. Topics include collection types: what is character encoding; JDK supported encodings like: CP1252, ISO-8859, ASCII, UTF-8, UTF-16, GB18030; methods to encode characters to byte sequences; methods to decode byte ...
2022-10-01, ∼265🔥, 0💬

java.security.cert.Certificate - The Certificate Class
This section describes the certificate class: java.security.cert.Certificate ,which represents a signed certificate of a public key.
2022-10-01, ∼264🔥, 0💬

SAX (Simple API for XML) Implementation in JDK
This section provides a tutorial example on how to write a simple program to find out what are the implementation classes for the SAX interfaces in JDK. The key is to call the javax.xml.parsers.SAXParserFac tory.newInstance()method.
2022-10-01, ∼263🔥, 0💬

XSL (Extensible Stylesheet Language)
This chapter provides tutorial notes and example codes on XSL (Extensible Stylesheet Language). Topics include default XSL implementation classes in JDK; writing an XML transformer program using XSL (Extensible Stylesheet Language).
2022-10-01, ∼262🔥, 0💬

Writing My First Java Program
This section provides a tutorial example on how to write, compile, and execute the first Java program with JDK 1.8.0.
2022-10-01, ∼262🔥, 0💬

SAXValidator.java - XML DTD Validation with SAX
This section provides a tutorial example on how to write a DTD validator using SAX classes in JDK. The validator can validate an XML file against the specified DTD statements.
2022-10-01, ∼261🔥, 0💬

Predefined Annotation Types
This section describes annotation types predefined in the current Java version. A tutorial example is also provided on how to use predefined annotation @Deprecated.
2022-10-01, ∼261🔥, 0💬

Nested "if-then-else" Statements
This section describes nested 'if-then-else' statements, where an 'if-then-else' statement contains another 'if-then-else' statement.
2022-10-01, ∼261🔥, 0💬

gc() - The Garbage Collection Method
This section provides a tutorial example on how to use the garbage collection method gc() on the default Runtime object to control the garbage collection process by yourself.
2022-10-01, ∼260🔥, 0💬

DOMValidator.java - XML DTD Validation with DOM
This section provides a tutorial example on how to write a DTD validator using DOM classes in JDK. The validator can validate an XML file against the specified DTD statements.
2022-10-01, ∼259🔥, 0💬

jshell - Entering Expressions and Statements
This section provides a tutorial example on how to start 'jshell' and enter expressions and statements.
2022-10-01, ∼259🔥, 0💬

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