Q: What is a static block? A: It is used to initialize the static data member, It is executed before […] Continue reading »
Q: What is an Interface? A: An interface is a collection of abstract methods. A class implements an interface, thereby […] Continue reading »
Q: What is finalize() method? A: It is possible to define a method that will be called just before an […] Continue reading »
Q: What kind of variables a class can consist of? A: A class consist of Local variable, instance variables and […] Continue reading »
Q: What do you know about Java? A: Java is a high-level programming language originally developed by Sun Microsystems and […] Continue reading »
This tutorial will explain how you can iterate an ArrayList in Java. Initially, we always use for loop to iterate […] Continue reading »
In this Struts 2 tutorial we will create a simple application for Create, Read, Update and Delete (CRUD) operation using […] Continue reading »
In this tutorial, we will create a simple countdown timer using JavaScript. JS is rich in features so it’s not […] Continue reading »
In this example, we are going to send an email with attachment in Java program via Gmail server. JavaMail API […] Continue reading »
In this tutorial, you will learn how to send an email in your Struts 2 application using JavaMail API via […] Continue reading »
If you are sending an email from Java program through Gmail SMTP, you may face the below exception in your […] Continue reading »