Posts related to tag: Java


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 »

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 »

How to write JSON object to File in Java

In this Java tutorial, we are going to write JSON objects and JSON Array in a file using Java. To […] Continue reading »

How to parse JSON in Java

In this Java tutorial, we are going to parse the JSON data using java program. To parse the JSON object […] Continue reading »

1 7 8 9