Problem: What is syntax for switch case statement in Java 7?
Java has very flexible literals for expressing different kinds of numbers. In this post we’ll go through all Java Literals one by one.
Problem: What are Java List types? What are their methods and what are their properties?
Problem: How to create a temporary file in Java 8? Sometimes it’s needed to create a temporary file during tests, verify result, and then delete it at the end. As usual it can be easily done using Java 8 Files API.
Problem: How to start HSQLDB Database Manager?
Problem: How to write Fizz Buzz in Java? The problem is as follows: Write a program that prints the numbers from 1 to 100. But for multiples of three print ‘Fizz’ instead of the number and for the multiples of five print ‘Buzz’. For numbers which are multiples of both three and five print ‘FizzBuzz’. …
Problem: How to write to a text file in Java 8?
Problem: What are sizes of Java primitive types?
Problem: What are default values of Java primitive types?
Problem: How to read file into a String in Java 8?