- Using String literals in switch statements.
- Using Underscores in literals to improve code readability
- Using the try-with-resources block to improve exception handling code.
- Catching multiple exception types in a single catch block.
- Rethrowing exceptions
- Using the diamond operator for type inference.
- Using the @SafeVarargs annotation.
- How to search / find files in a directory using DirectoryStream in Java 7.?
- How to create and delete a file in Java 7 using java.nio ?
- How to Copy and Move a file in Java 7 using java.nio ?.
- How to read and write a file in Java 7 using java.nio API ?
- Determining the file content type.
- Creating files and directories.
- Binary Literals in Java 7.
Free Data Structures and Algorithms Course
Java 7 New Features
Networking in Java
- How to use java.net.InetAddress Class for Java Networking ?.
- How to use java.net.URL Class for Java Networking ?.
- How to use java.net.URLConnection Class for Java Networking ?.
- How to read information from Server Socket through TCP Client Socket ?.
- How to connect to a remote server through a Java program ?
- Creating a simple Chat Client/Server Solution in Java
- A simple Java program to read and download a Web page in a html file
- How to parse a given URL to get information about it in Java ?.
- How to read source of a Url using java.net API ?.
Multithreading in Java
- Creating and Running a Thread using Runnable Interface
- How life cycle of a thread in works in Java ?.
- How to put a thread to sleep in Java ?.
- How to set a thread's priority in Java ?.
- How to interrupt a thread in Java ?
- How to create synchronized threads in Java ?.
- How to get name of current executed method and list of methods executing on the stack of main Thread in Java?
- How to create a thread by extending the Thread class ?.
Subscribe to:
Posts (Atom)