Author: Arpit Mandliya
- 08 June
Java – Create new file
There are many ways to create a file in java. Creating a file is a very easy task. We will learn 5 different ways to Create a file. Using java.io.File class’s createNewFile method This is simplest and oldest way to create file.Here is simple snapshot to create a file in java. [crayon-68c37b811bff3832903772/] Using java.nio.file.Files from […]
- 08 June
Java enum with String
In this quick tutorial, how to create String constants using enum, convert String to enum etc. You can go though complete enum tutorial here. Let’s create java enum String constants. Create java enum String [crayon-68c37b811c2e5476145220/] That’s pretty simple. Access enum by name You can simply use . operator to access enum but if you have […]
- 30 May
What is Yarn in Hadoop?
The Hadoop ecosystem is going through the continuous evolution. Its processing frameworks are also evolving at full speed with the time. Hadoop 1.0 has passed the limitation of the batch-oriented MapReduce processing framework for the development of specialized and interactive processing model which is Hadoop 2.0. Apache Hadoop was introduced in 2005 and taken over […]
- 28 May
What is MapReduce in Hadoop?
The heart of Apache Hadoop is Hadoop MapReduce. It’s a programming model used for processing large datasets in parallel across hundreds or thousands of Hadoop clusters on commodity hardware. The framework does all the works; you just need to put the business logic into the MapReduce. All the work is divided into the small works […]
- 24 May
Collections in java
In this tutorial, we will see about Collections in java. Collection framework is core part of java programming language. It is used in almost all the applications. Collections framework provides a way to store and retrieve the collection of elements. This framework has many interfaces and classes which makes programmer life easy. Let’s go through […]
- 22 May
100+ Core Java Interview Questions and Answers for 2022
Introduction In this post we will look into the most commonly asked Interview questions related to Java. We will take a look at the most common topics in Java for interviews and provide the answer to the questions in detail with examples to help you ace your next interview. We recommend following this post step […]
- 20 May
Java 8 tutorial
In this post, we will see about Java 8 tutorial. I have written a lot of tutorials on Java 8. This is index post for all Java 8 posts. Java 8 has lots of new features which will change the way you do programming. Here is a list of features you need to know to […]
- 19 May
Java 8 Optional
In this post, we will see about Java 8 optional. Did you ever get NullPointerException as Java developer? If you are experienced Java developer, you might have got NullPointerException at some point of time. You might agree that NullPointerException is pain for novice or expert core Java developer. You have to put a lot of […]
- 15 May
What is HDFS in Hadoop
The Hadoop Distributed File System is a java based file, developed by Apache Software Foundation with the purpose of providing versatile, resilient, and clustered approach to manage files in a Big Data environment using commodity servers. HDFS used to store a large amount of data by placing them on multiple machines as there are hundreds […]