All examples in the Java Language Fundamentals category

Java Language Fundamentals
bullet How to Format a Number in Java bullet The Java Keywords bullet How to Compare Strings in Java
bullet Measure Time in Nano-Seconds bullet Using Varargs in Java bullet Using the Java Enum Type
bullet How to calculate the perimeter of a rectangle bullet How to calculate the area of a rectangle bullet How to calculate the area of a circle
bullet How to calculate the perimeter of a circle bullet Using the Character class bullet Using a Switch / Case Statement
bullet Append a String onto another String bullet Get Name of User Currently Logged In to the Computer bullet Convert a String to Date
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 Exiting a Java program
bullet Execute external program with Runtime and Process classes bullet Count letters in a String bullet Checking if a String is empty
bullet Check if a String is a valid date


Bookmark and Share