Java Tutorials


iText API– Creating table in PDF using Java

In this tutorial, we will discuss how to create a table in the PDF document using iText API. iText is […] Continue reading »

Core Java Interview Questions and Answers Part 5

Q: What is a static block? A: It is used to initialize the static data member, It is executed before […] Continue reading »

Core Java Interview Questions and Answers Part 4

Q: What is an Interface? A: An interface is a collection of abstract methods. A class implements an interface, thereby […] Continue reading »

Core Java Interview Questions and Answers Part 3

Q: What is finalize() method? A: It is possible to define a method that will be called just before an […] Continue reading »

Core Java Interview Questions and Answers Part 2

Q: What kind of variables a class can consist of? A: A class consist of Local variable, instance variables and […] Continue reading »

Core Java Interview Questions and Answers Part 1

Q: What do you know about Java? A: Java is a high-level programming language originally developed by Sun Microsystems and […] Continue reading »

How to iterate ArrayList in Java

This tutorial will explain how you can iterate an ArrayList in Java. Initially, we always use for loop to iterate […] Continue reading »

Send email with attachment in Java using Gmail

In this example, we are going to send an email with attachment in Java program via Gmail server. JavaMail API […] Continue reading »

Example of sending email in Java using Gmail SMTP

This Java tutorial will explain how to send an email through Java program using Gmail server and JavaMail API. JavaMail […] Continue reading »

How to shuffle list elements in Java

On this page, we are going to shuffle or randomize elements of List in Java. In this example, we randomize the […] Continue reading »

How to parse nested JSON object in Java

In this Java tutorial, we are going to parse or read the nested JSON object using the library JSON.simple. To parse […] Continue reading »

1 10 11 12 13 14