Problem: What is syntax for switch case statement in Java 7?
Continue reading Java Switch CaseJava
Java has very flexible literals for expressing different kinds of numbers. In this post we’ll go through all Java Literals one by one.
Continue reading Java LiteralsProblem: What are Java List types? What are their methods and what are their properties?
Continue reading Java List types and their methodsProblem: 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.
Continue reading Java 8 create temporary fileProblem: How to start HSQLDB Database Manager?
Continue reading HSQLDB Database ManagerProblem: 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’. …
Continue reading Fizz Buzz in JavaProblem: How to write to a text file in Java 8?
Continue reading Java 8 write to a text fileProblem: What are sizes of Java primitive types?
Continue reading Java primitive types sizesProblem: What are default values of Java primitive types?
Continue reading Java primitive types default valuesProblem: How to read file into a String in Java 8?
Continue reading Java 8 read file into a String