All examples in the Java Language Fundamentals category

Java Language Fundamentals
bullet Convert Characters to Lower Case bullet Convert Characters to Upper Case bullet Replace Characters in a String
bullet Getting a substring from a String bullet Check if String Contains another String bullet Compare Strings
bullet Find the Package of an Object bullet Determine the Superclass of an Object bullet How to Create a Singleton Object
bullet Finding Out of what Class an Object is Instantiated bullet How to clone objects bullet Get Number of Available Processors
bullet Get Total Amount of Memory, Max Memory and Amount of Free Memory in the JVM bullet Redirect standard error bullet Redirect standard output
bullet Compute and display elapsed time of an operation bullet Validate if string is a number bullet Validate if a String contains only numbers
bullet Min and Max values of datatype double bullet Min and Max values of datatype long bullet Min and Max values of datatype float
bullet Min and Max values of datatype int bullet Min and Max values of datatype short bullet Min and Max values of datatype byte
bullet Max and Min values of datatype char bullet Using the StringTokenizer class bullet Using the StringBuilder class
bullet Using the StringBuffer class bullet Split a String bullet Round number to fewer decimals
bullet Placing text on the computer clipboard bullet Minimum and maximum values of a byte bullet Listing the system properties
bullet Getting data from the computer clipboard bullet Get current directory bullet Get current date and time with the SimpleDateFormat class
bullet Exiting a Java program bullet Execute external program with Runtime and Process classes bullet Create a Date object using the Calendar class
bullet Count letters in a String bullet Checking if a String is empty bullet Check if a String is a valid date