With this article we will kick-off a new series where we will look deep into Java’s different collection solutions which are available in the version 1.8. For concrete implementations (like ArrayList or TreeSet) we will give you some use-cases where these collections will excel and some cases where you should use different collections. And of… Continue reading
Searched for ""
Java Lambda : Beginners Guide
This article explains Java Lambda expressions in Java 8. You can find complete code here.
Making a Spring Boot & Thymeleaf CRUD Application
Overview In this lesson, we will demonstrate how we can use Thymeleaf in a Spring Boot based application to show data in a simple template frontend. We will be using the Spring Initializr tool for setting up the project quickly. We will also mention the dependencies present in our project if you choose to setup… Continue reading
Git : A beginners Guide
In this article, I am going to talk about Git. I am writing this article to provide you some basic stuff about Git to start with.
Java Hashmap tutorial
Java HashMap is a HashTable based implementation of Map. This is the reason why the interviewer always asks for the difference between HashMap and HashTable. HashMap is mostly equated to HashTable except below two differences. HashMap is unsynchronized while HashTable is synchronized. HashMap permits null while HashTable doesn’t. Important Property of HashMap DEFAULT_INITIAL_CAPACITY Default Initial… Continue reading
this keyword in Java
What is this this is a keyword in Java. It can be used inside the method or constructor of a class. It(this) works as a reference to the current object, whose method or constructor is being invoked. This keyword can refer to any member of the current object from within an instance method or a constructor.
Order of execution
In this article, we will learn about the order of execution of blocks in Java. Different blocks and their order of execution in Java Class Static Block Init Block(Anonymous Block) Constructor /* * Here we will learn to see how the different part (Ananymous Block, Constructor and Static Block ) of class will behave * and… Continue reading
public static void main (string args[]) Explanation
In Java, JVM (Java Virtual Machine) will always look for a specific method signature to start running an application, and that would be the public static void main (String args[]). The main() method represents the entry point of Java programs, and knowing how to use it correctly is very important. Syntax In the above application… Continue reading
9z. WebDriver – Window maximize
Hiya Champs! Things don’t always work the way we want them to and that’s where the challenges take their form. With Selenium Webdriver, our testing lives are made far easier than we would expect them to be. One such situation is maximizing the browser window. Screenshots are a life saver and in order to view… Continue reading
Java Basics:Getting Started with Java
Here we will discuss some basics topics related to Java. Where to download Java. How to install Java. Setting up the Environment Variables. Our First Java Program. How to compile a Java application. How to run a Java Application. In next topic we will discuss about the difference between important terms in Java (JDK vs JRE… Continue reading