dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > Java

Java - Page 2

Applets
Classes
Enterprise Javabeans
Garbage Collection
Java APIs
  AWT   Enterprise JavaBeans   JDBC   Swing
Java Servlets
Object Serialization
RMI-IIOP
Threading
21-40 of 1858     Previous     Next
Swapping Two Numbers
by M S Sridhar
Language: Java, Expertise: Intermediate - See how to help your application to be memory and performance oriented.
Get All the Available Time Zones
by Octavia Anghel
Language: Java, Expertise: Intermediate - See how to use new features in Java 8 to get all available time zones.
Avoid NPE via JDK 8, Optional
by Octavia Anghel
Language: Java, Expertise: Intermediate - Beginning with JDK 8, you can avoid NullPointerException by returning an Optional. See an example.
Know the Details of the Current Method Being Executed
by Sridhar M S
Language: Java, Expertise: Intermediate - See how to figure out the current code flow with the getMethodName() method.
Understanding the FindAny Method
by M S Sridhar
Language: Java, Expertise: Intermediate - Learn how to use the findAny method in java.util.Stream.
Escape Characters in Regular Expressions
by Octavia Anghel
Language: Java, Expertise: Intermediate - Learn how escape special characters in regular expressions.
Finding the Java Version Programatically
by M S Sridhar
Language: Java, Expertise: Intermediate - Learn how to find the Java version, and few other properties, programmatically.
Counting Digits in a Given Number
by M S Sridhar
Language: Java, Expertise: Intermediate - Learn how to use a combination of methods in Math package to count digits.
Finding the Available Drive Types in the System
by M S Sridhar
Language: Java, Expertise: Intermediate - Knowing the available drive types in the system is essential for certain activities in Java. See how to retrieve this vital information.
Boost the Switch Statement in JDK 12
by Octavia Anghel
Language: Java, Expertise: Intermediate - Learn how the "switch" statement can be used as either a statement or an expression in JDK12.
Creating a Secure Socket
by M S Sridhar
Language: Java, Expertise: Intermediate - Learn how to secure your socket with encryption so that it is not an easy target for an attacker.
Using Error: Class Names and YourClassName
by M S Sridhar
Language: Java, Expertise: Beginner - Using error: Class names or 'YourClassName' is only accepted if annotation processing is explicitly requested.
Creating a Specific Date in Java
by Octavia Anghel
Language: Java, Expertise: Beginner - Learn how to create a calendar instance and set a specific date.
Formatting Output in Java
by M S Sridhar
Language: Java, Expertise: Intermediate - Learn how to employ proper formatting for your Java output.
Using a Java File with an Empty Main Method
by M S Sridhar
Language: Java, Expertise: Intermediate - Java programs cannot be executed without a standard main method. Learn an work around to cheat the requirements.
Reading All Lines of a File from Classpath in Java 8
by Octavia Anghel
Language: Java, Expertise: Intermediate - Learn how to read all lines of a file from classpath in Java 8 and display them on a screen.
Using the Serialver Tool
by M S Sridhar
Language: Java, Expertise: Intermediate - See how Java provides a mechanism to know the serialization properties of a given class.
Programmatically Querying the Number of CPU Cores in Java
by Octavia Anghel
Language: Java, Expertise: Intermediate - Learn how to use Java to find the number of CPU cores.
Finding All Digits in a Given String
by M S Sridhar
Language: Java, Expertise: Intermediate - See how this regex will help you retrieve all the digits that are present in a string.
Converting a String into a Date
by OCTAVIA ANGHEL
Language: Java, Expertise: Beginner - See how to convert a string pattern into a date object.
21-40 of 1858     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date