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 > Classes

Classes

1-20 of 94     Previous     Next
Inspect Class Annotations
by Octavia Anghel
Language: Java, Expertise: Intermediate - See an example of how class annotations can be inspected via reflection.
Call a Private Constructor
by Octavia Anghel
Language: Java, Expertise: Intermediate - Learn how to call a private contructor from outside its class.
Employing the Formatter Class in Java
by M S Sridhar
Language: Java, Expertise: Intermediate - Learn about how to use the Formatter class to ensure that you're getting the output that you require.
Working with the StringJoiner Class in Java
by M S Sridhar
Language: Java, Expertise: Intermediate - See how the StringJoiner class helps in formatting strings when there are multiple values.
Perform Connectionless Communication Between Producer and Consumer
by M S Sridhar
Language: Java, Expertise: Intermediate - See how to perform connectionless communication between the producer and the consumer.
How to Check Whether a Port is Free
by M S Sridhar
Language: Java, Expertise: Intermediate - Learn how to check whether or not a given port is free by trying to construct a ServerSocket with the port that needs to be checked.
Usage of the Repository Factory Class
by Octavia Anghel
Language: Java, Expertise: Intermediate - Learn how to use a Spring Data class to access any repository.
How to Annotate Class with Lombok
by OCTAVIA ANDREEA
Language: Java, Expertise: Intermediate - Learn how to generate toString(), equals(), hashCode(), getters, setters and no-args constructor via Lombok.
Understanding the Unary Operator in Java
by Sridhar M S
Language: Java, Expertise: Intermediate - See a few examples of how to use the unary operator.
Using the FileTime Class in Java
by M S Sridhar
Language: Java, Expertise: Intermediate - Learn how to retrieve time-related information regarding files in Java.
Get the UTC Machine Time in Java
by Octavia Anghel
Language: Java, Expertise: Intermediate - Learn more about getting the machine UTC timestamp with JDK 8.
Comparing Two Integers
by Octavia Anghel
Language: Java, Expertise: Intermediate - Learn how to compare integers without being exposed to overflow risks.
Get the Abstract Methods of a Class
by Octavia Anghel
Language: Java, Expertise: Intermediate - Learn to isolate the abstract methods from a class with the Java Reflection API.
Expore the TemporalAdjusters Class in Java
by M S Sridhar
Learn how to easily compute dates in Java.
Operations on Dates and Times
by Octavia Anghel
Language: Java, Expertise: Intermediate - Learn how to use operations on Date and Time in Java.
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.
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.
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.
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.
1-20 of 94     Previous     Next
Thanks for your registration, follow us on our social networks to keep up-to-date