Latest Posts From Pankaj

Java Array of ArrayList, ArrayList of Array

Today we will learn how to create a Java array of ArrayList. We will also learn how to create an ArrayList of array elements. Java Array of ArrayList Creating array of list in java is….

Java Socket Programming – Socket Server, Client example

Welcome to Java Socket programming example. Every server is a program that runs on a specific system and listens on a specific port. Sockets are bound to the port numbers and when we run any….

Java String to InputStream

Today we will look into how to convert String to InputStream in java. Recently I wrote a post to convert InputStream to String. Java String to InputStream There are two ways that I have used….

How to get IP address in java using InetAddress

An IP address is either a 32-bit or 128-bit unsigned number used by IP, a lower-level protocol on which protocols like UDP and TCP are built. In Java, the InetAddress class represents an Internet Protocol….

Java char to String, String to char array

Today we will look into java char to String program. We will also learn how to convert String to a char array. Java char to String Before we look into java char to String program,….

Java String to int, Java int to String

Today we will look at Java String to int conversion and then java int to String conversion. Java provides several ways to convert String to int and int to String. Java String to int Using….

Java Annotations

Java Annotations provides information about the code. Java annotations have no direct effect on the code they annotate. In java annotations tutorial, we will look into the following; Built-in Java annotations How to write Custom….

Enum in Java

Enum was introduced in Java 1.5 as a new type whose fields consists of a fixed set of constants. For example, we can create directions as Java Enum with fixed fields as EAST, WEST, NORTH,….

Java Properties File – java.util.Properties

Java properties file are used to store key-value pair configuration. java.util.Properties class is used to work with properties file in java. Java Properties File – java.util.Properties In java properties file can be a normal property….

Java read file line by line

Today we will look into different java read file line by line methods. Sometimes we have to read file line by line to a String, for example calling a method by passing each line as….

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages