<< < 9 10 11 12 13 14 15 16 17 18 19 > >>   ∑:488  Sort:Rank

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, 194🔥, 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, 194🔥, 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, 194🔥, 0💬

HexWriter.java - Converting Encoded Byte Sequences to Hex Values
This section provides a tutorial example on how to write a sample program, HexWriter.java, to convert encoded byte sequences to Hex values to help viewing encoded text files.
2022-10-01, 193🔥, 0💬

DOM (Document Object Model) - API for XML Files
This chapter provides tutorial notes and example codes on DOM (Document Object Model). Topics include parsing XML files into DOM objects; browsing DOM object tree; building new DOM objects; converting DOM objects to XML files.
2022-10-01, 193🔥, 0💬

Testing DOM XML DTD Validator
This section provides a tutorial example on how to test the DOM XML DTD Validator. All errors are generated with line numbers and explanations.
2022-10-01, 193🔥, 0💬

The "Thread" Class - Creating Thread Objects With Thread Sub Classes
This section provides a tutorial example on how to create new threads with your own classes extended from the 'Thread' class. You need to override the run() method in your own classes.
2022-10-01, 193🔥, 0💬

getAnnotations() Method - Annotation APIs
This section provides a tutorial example on how to use the getAnnotations() method and other annotation APIs to obtain annotation information at runtime.
2022-10-01, 193🔥, 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, 192🔥, 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, 192🔥, 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, 192🔥, 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, 192🔥, 0💬

Archived: JDK 1.3 Bug - Memory Leak With Unstarted Threads
This section describes a reported bug for JDK 1.3 that unstarted thread objects cause memory leak.
2022-10-01, 192🔥, 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, 192🔥, 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, 191🔥, 0💬

"jdeprscan jar_file" - Deprecated API of Class File
This section provides a tutorial example on how to use 'jdeprscan' command to scan for deprecated APIs of a given class file.
2022-10-01, 191🔥, 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, 190🔥, 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, 190🔥, 0💬

System Properties and Runtime Object Methods
This chapter provides tutorial notes and tutorial examples on system properties and the Runtime object. Topics include listing all system properties, setting your own properties, accessing the Runtime object, checking free memory, executing OS commands.
2022-10-01, 190🔥, 0💬

ThreadGroup Class and "system" ThreadGroup Tree
This chapter provides tutorial notes and tutorial examples on the ThreadGroup class and the 'system' ThreadGroup tree. Topics include main methods of the ThreadGroup class, displaying the 'system' ThreadGroup tree, adding threads and thread groups, testing the reported JDK 1.3 bug - memory leak of u...
2022-10-01, 190🔥, 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, 189🔥, 0💬

PKCS#8 and X.509 Key Encoding Classes
This section describes 2 JDK classes: PKCS8EncodedKeySpec representing the PKCS#8 encoding standard and the X.509 encoding standard.
2022-10-01, 189🔥, 0💬

What Is JDK
This section describes what is JDK (Java Development Kit) - a development environment for building software applications and software components using the Java programming language.
2022-10-01, 189🔥, 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, 189🔥, 0💬

<< < 9 10 11 12 13 14 15 16 17 18 19 > >>   ∑:488  Sort:Rank