JAVA

Data Structure & Algorithms Interview Questions

Data Structure & Algorithms Interview Questions

In this post we will be providing some questions frequently asked in Interview. Comment their answers below Arrays How do you find the missing number in a given integer array of 1 to 100?How do you find the duplicate number on a given integer array?How do you find the largest and smallest number in an unsorted integer array?How do you find all pairs of an integer array whose sum is equal to a given number?How do you find duplicate numbers in an array if it contains multiple duplicates?How are duplicates removed from a given array in Java? Linked List How…
Read More
Best Java Courses to Learn Programming

Best Java Courses to Learn Programming

Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. Since It's market demand is very high there are a lot of courses available on internet. I'm providing you a list of programs which might turn out useful for you while you learn. Java Programming : Solving Problems with Software This is an awesome course on Coursera for learning to code in Java and improves your programming and problem-solving skills. You will learn to design algorithms as well as develop and debug programs. JAVA Fundamentals: The Java Language - Pluralsight A…
Read More
Free Popular APIs for your projects

Free Popular APIs for your projects

An application programming interface(APIs) is a connection between computers or between computer programs. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how to build such a connection or interface is called an API specification. There are a lot of opensource APIs available over internet. Here I'm going to tell you about some of them. Open Weather Map API Open weather map API provides the current weather information for any location including over 200K cities. This API is one of the very useful API for the programming beginners…
Read More
5 Algorithms Every Programmer Should Know

5 Algorithms Every Programmer Should Know

 Programming algorithms are computer procedures that is a lot like a recipe (called a procedure) and tells your computer precisely what steps to take to solve a problem or reach a goal. Algorithms play an important role in the career of a software developer. Wondering why algorithm are important? Gives you an idea if your program actually solves the problem. Gives you an idea about under what circumstances your program will perform well. Gives you an idea what parts of the program are important and what parts can be done any old way. Got an idea about the importance, Now…
Read More
How to get current Date and time in JAVA

How to get current Date and time in JAVA

In this post You'll come to know about several methods of getting current date and current time in different timezone in JAVA. Get Current Date in JAVA import java.time.LocalDate; public class CurrentDateTimeExample { public static void main(String[] args) { // Current Date LocalDate currentDate = LocalDate.now(); System.out.println("Current Date: " + currentDate); } } Get current Time in Java import java.time.LocalTime; public class CurrentDateTimeExample { public static void main(String[] args) { // Current Time LocalTime currentTime = LocalTime.now(); System.out.println("Current Time: " + currentTime); } } Get current Date and Time in Java import java.time.LocalDateTime; public class CurrentDateTimeExample { public static void…
Read More