Latest Author Post

  • JAVA Tutorial PDF: Basics PDF for Beginners (Download Now)
    $20.20 $9.99 for today 4.6 (115 ratings) Key Highlights of Java Programming Language PDF 265+ pages eBook Designed for beginners Beautifully annotated screenshots You will get lifetime download access of this java PDF book Java is the most popular programming language & is the language of choice for Android programming….
  • 15 Best Java Programming Books for Beginner (2021 Update)
    We are reader supported and may earn a commission when you buy through links on our site Almost all websites recommend an array of books and the readers are left confused deciding which one to buy. We want to eliminate this confusion and recommend the TOP 15 books, which in…
  • 15 BEST Java IDE (Compiler / Editor) for Windows, Mac, Linux in 2021
    Java is a programming language and a computing platform for application development. It was first released by Sun Microsystem in 1995 and later acquired by Oracle Corporation. It is one of the most used programming languages. There are numerous IDE for Java that offer smart code completion and validate errors…
  • 20 Best Java Tools for Developers in 2021
    There are many tools available for Java management. These software ease the entire process of developing, testing and deployment in Java. Here is the list of Top tools with their features and download links. Java Development Tools 1) Site24x7 Monitor the performance of your Java applications with Site24x7 APM Insight….
  • Top 22 Groovy Interview Questions & Answers (2021 Update)
    1) Explain what is Groovy? Groovy is an object-oriented programming language for JVM (Java Virtual Machines). It is used to combine Java modules, to write Java application and to extend existing Java application. 2) Why use Groovy? For Java programmers it provides familiar syntax It has a rich stock of…
  • Top 25 JMS (Java Message Service) Interview Questions & Answers (2021)
    1) What is JMS? JMS means Java Messaging Service. It is the new standard for inter client communication. It allows the J2EE application component to create, send, read and receive the messages. 2) What type of messaging is provided by JMS? JMS provides both type of messaging, synchronous Asynchronous 3)…
  • Top 22 Java Design Patterns Interview Questions & Answers (2021)
    1) Explain what is Java Design Pattern? A design pattern is a language independent strategy for solving common object-oriented design problem. It describes how to structure classes to meet a given requirement. 2) Explain what is creational design patterns and Factory pattern? Creational design pattern: This pattern is used to…
  • Top 80 Java Collections Interview Questions & Answers (2021)
    Here are Java Collections Interview Questions for fresher as well as experienced candidates to get their dream job. 1) What is framework in Java? A framework is a popular and readymade architecture that contains a set of classes and interfaces. 2) What is the Collection framework in Java? Collection Framework…
  • Top 100 Java Interview Questions and Answers (PDF) in 2021
    We have compiled the most frequently asked Java Programming interview Questions and Answers that will help you prepare for the Java viva questions and answers that an interviewer might ask you during your interview. In this list of Java basic interview questions, we have covered all commonly asked basic and…
  • Difference between Comparable and Comparator in Java
    What is Comparable in Java? Comparable in Java is an object to compare itself with another object. It helps to sort the list of custom objects. The java.lang.Comparable interface should be implemented by a class in order to compare its instances. Array of objects implementing a comparable interface is sorted…
  • Java vs Scala: What is the Difference?
    What is Java? Java is a multi-platform, object-oriented, network-centric, programming language developed by Sun Microsystems. Java is a programming language and a computing platform for application development. It was first released by Sun Microsystem in 1995 and later acquired by Oracle Corporation In this tutorial, you will learn: What is…
  • Java vs Python: What’s the Difference?
    What is Java? Java is a multi-platform, object-oriented, and network-centric, programming language. It is among the most used programming language. It also used as a computing platform, and it was first released by Sun Microsystem in 1995. It was later acquired by Oracle Corporation. In this Java vs Python tutorial,…
  • Java vs C# – 10 Key Differences between Java and C#
    What is Java? Java was released by Sun Microsystem in 1995. It was developed by James Gosling. It is a general-purpose programming language which was designed with a specific goal of allowing developers to write once run anywhere. Java application is compiled into bytecode that can run on any implementation…
  • JDK vs JRE vs JVM: Key Differences
    What is JDK? JDK is a software development environment used for making applets and Java applications. The full form of JDK is Java Development Kit. Java developers can use it on Windows, macOS, Solaris, and Linux. JDK helps them to code and run Java programs. It is possible to install…
  • C++ Vs JAVA: What’s the Difference?
    What is the C++ language? C++ is a computer programming language that contains the feature of C programming language as well as Simula67 (first object Oriented language). C++ introduced the concept of Class and Objects. It encapsulates high and low-level language features. So, it is seen as an intermediate level…
  • Selection Sorting in Java Program with Example
    How does Selection Sort work? Selection Sort implements a simple sorting algorithm as follows: Algorithm repeatedly searches for the lowest element. Swap current element with an element having the lowest value With every iteration/pass of selection sort, elements are swapped. Java Program to implement Selection Sort package com.guru99; public class…
  • Insertion Sort Algorithm in Java with Program Example
    What is Insertion Sort Algorithm? Insertion sort is a simple sorting algorithm suited for small data sets. During each iteration, the algorithm: Removes an element from an array. Compares it against the largest value in the array. Moves the element to its correct location. Insertion Sort Algorithm Process Here is…
  • Bubble Sort Algorithm in Java: Array Sorting Program & Example
    What is Bubble Sort? Bubble sort is a simple algorithm that compares the first element of the array to the next one. If the current element of the array is numerically greater than the next one, the elements are swapped. Likewise, the algorithm will traverse the entire element of the…
  • Palindrome Program in Java: Find Number is Palindrome or Not
    What is Palindrome Number? A Palindrome Number is a number that remains the same number when it is reversed. For example, 131. When its digits are reversed, it remains the same number. Palindrome number has reflection symmetry at the vertical axis. It refers to the word which has the same…
  • How to Reverse a String in Java using Recursion
    In this example program, we will reverse a string entered by a user. We will create a function to reverse a string. Later we will call it recursively until all characters are reversed. Write a Java Program to Reverse String package com.guru99; public class ReverseString { public static void main(String[]…
  • Armstrong Number in JAVA Program Using For Loop
    What is Armstrong Number? In an Armstrong Number, the sum of power of individual digits is equal to number itself. In other words the following equation will hold true xy..z = xn + yn+…..+ zn n is number of digits in number For example this is a 3 digit Armstrong…
  • Fibonacci Series in Java using Recursion and Loops Program
    What is Fibonacci Series in Java? A Fibonacci Series in Java is a series of numbers in which the next number is the sum of the previous two numbers. The first two numbers of the Fibonacci series are 0 and 1. The Fibonacci numbers are significantly used in the computational…
  • How to Convert Char to String in Java (Examples)
    In this tutorial, we will study programs to To convert a character to String To convert a String to character Convert Char To String There are multiple ways to convert a Char to String in Java. In fact, String is made of Character array in Java. Char is 16 bit…
  • Program to Print Prime Number From 1 to 100 in Java
    What is a Prime Number? A Prime Number is a number that is only divisible by one or itself. It is a natural number greater than one that is not a product of two smaller natural numbers. For example, 11 is only divisible by one or itself. Other Prime numbers…
  • Convert JSON to XML Java using Gson and JAXB with Example
    What is JSON? JSON is an abbreviation for Javascript Object Notation, which is a form of data that follows a certain rule that most programming languages are currently readable. We can easy to save it to a file or record in the database. JSON format uses key-value pairs to describe…
  • Java Program to Check Prime Number
    What is a Prime Number? A prime number is a number that is only divisible by 1 or itself. For example, 11 is only divisible by 1 or itself. Other Prime numbers 2, 3, 5, 7, 11, 13, 17…. Note: 0 and 1 are not prime numbers. 2 is the…
  • JasperReports Tutorial: What is, How to Install, Report Example
    What is JasperReports for Java? JasperReports is an open-source reporting tool for Java that is used for reporting of applications. This reporting tool helps in writing rich content onto the screen, to the printer, or into a variety of files like HTML, PDF, XLS, RTF, CSV, XML, ODT and TXT….
  • Apache ANT Tutorial: What is Apache Ant Build Tool?
    What is a Build Tool? A build tool is a programming tool which is used to build a new version of a program. It automates the creation of an executable application from any source code. What is Apache Ant? Apache Ant is a Java-based command-line tool for building Java applications…
  • Spring Tutorial: What is Spring Framework & How to Install
    What is Spring Framework? Spring Framework is an open-source framework for building web applications with Java as a programming language. It is powerful and lightweight yet easy to use, and it provides support for developing Java applications easily. Spring is a lightweight framework which can be thought of as a…
  • Groovy Script Tutorial for Beginners
    What is a Groovy Script? Apache Groovy is an object oriented and Java syntax compatible programming language built for the Java platform. This dynamic language has many features which are similar to Python, Ruby, Smalltalk, and Pero. Groovy source code gets compiled into Java Bytecode so it can run on…
  • Java Reflection API Tutorial with Example
    What is Reflection in Java? Java Reflection is the process of analyzing and modifying all the capabilities of a class at runtime. Reflection API in Java is used to manipulate class and its members which include fields, methods, constructor, etc. at runtime. One advantage of reflection API in Java is,…
  • Java BufferedReader: How to Read File in Java with Example
    How to read a file in Java? Java provides several mechanisms to read from File. The most useful package that is provided for this is the java.io.Reader. This class contains the Class Java BufferedReader under package java.io.BufferedReader What is BufferedReader in Java? BufferedReader is a Java class to reads the…
  • Split() String Method in Java: How to Split String with Example
    What is split() string in Java? StrSplit() method allows you to break a string based on specific Java string delimiter. Mostly the Java string split attribute will be a space or a comma(,) with which you want to break or split the string Syntax public String split(String regex) public String…
  • Java Swing Tutorial: How to Create a GUI Application in Java
    What is Swing in Java? Swing in Java is a Graphical User Interface (GUI) toolkit that includes the GUI components. Swing provides a rich set of widgets and packages to make sophisticated GUI components for Java applications. Swing is a part of Java Foundation Classes(JFC), which is an API for Java…
  • Multithreading in Java Tutorial with Program & Examples
    Any application can have multiple processes (instances). Each of this process can be assigned either as a single thread or multiple threads. We will see in this tutorial how to perform multiple tasks at the same time and also learn more about threads and synchronization between threads. In this Multithreading…
  • Java Date & Time: SimpleDateFormat, Current Date & Compare
    In this tutorial, you will learn – Display Current Date in Java SimpleDateFormat: Parse and Format Dates Compare Dates Example Let us first understand the parameters that consist of a Date. It will primarily contain – The year (in either 2 or 4 digits) The month (in either 2 digits,…
  • How to Generate Random Numbers in Java
    In this tutorial, we will learn how to generate random number in Java- Using Java Random Class Using Java Math.Random Random Number Generation with Java Random number can be generated using two ways. java.util.Random class is used to generate random numbers of different data types such as boolean, int, long,…
  • Java Math Abs() Round() Ceil() Floor() Min() Methods/Function with Example
    Java has had several advanced usage application including working with complex calculations in physics, architecture/designing of structures, working with Maps and corresponding latitudes/longitudes, etc. In this Java tutorial, you will learn: Math.abs in Java Math.round in Java Math.ceil and Math.floor in Java Math.min in Java All such applications require using…
  • Java Switch-Case Statement with Example
    We all use switches regularly in our lives. Yes, I am talking about electrical switches we use for our lights and fans. As you see from the below picture, each switch is assigned to operate for particular electrical equipment. For example, in the picture, the first switch is for a…
  • For-Each Example: Enhanced for Loop to Iterate Java Array
    For-Each Loop is another form of for loop used to traverse the array. for-each loop reduces the code significantly and there is no use of the index or rather the counter in the loop. Syntax: For(<DataType of array/List><Temp variable name> : <Array/List to be iterated>){ System.out.println(); //Any other operation can…
  • Throws Keyword in Java with Example
    Java throws keyword The Java throws keyword is used to declare the exception information that may occur during the program execution. It gives information about the exception to the programmer. It is better to provide the exception handling code so that the normal flow of program execution can be maintained….
  • How to Create User Defined Exception in Java
    What is User Defined Exception in Java? User Defined Exception or custom exception is creating your own exception class and throws that exception using ‘throw’ keyword. This can be done by extending the class Exception. There is no need to override any of the above methods available in the Exception…
  • Try Catch in Java: Exception Handling Example
    What is Exception in Java? Exception in Java is an event that interrupts the execution of program instructions and disturbs the normal flow of program execution. It is an object that wraps an error event information that occurred within a method and it is passed to the runtime system. In…
  • Packages in Java: How to Create/Import Package
    What is Package in Java? PACKAGE in Java is a collection of classes, sub-packages, and interfaces. It helps organize your classes into a folder structure and make it easy to locate and use them. More importantly, it helps improve code reusability. Each package in Java has its unique name and…
  • Constructor Overloading in Java: What is & Program Examples
    What is Constructor in Java? CONSTRUCTOR is a special method that is used to initialize a newly created object and is called just after the memory is allocated for the object. It can be used to initialize the objects to desired values or default values at the time of object…
  • Interface vs Abstract Class in Java: What’s the Difference?
    What is Interface? The interface is a blueprint that can be used to implement a class. The interface does not contain any concrete methods (methods that have code). All the methods of an interface are abstract methods. An interface cannot be instantiated. However, classes that implement interfaces can be instantiated….
  • What is Interface in Java: How to Implement Interface with Example
    What is Interface in Java? An Interface in Java programming language is defined as an abstract type used to specify the behavior of a class. A Java interface contains static constants and abstract methods. A class can implement multiple interfaces. In Java, interfaces are declared using the interface keyword. All…
  • Abstraction in Java | Abstract Class & Method with Example
    What is Abstraction in Java? Abstraction in JAVA shows only the essential attributes and hides unnecessary details of the object from the user. In Java, abstraction is accomplished using Abstract class, Abstract methods, and Interfaces. Abstraction helps in reducing programming complexity and effort. In this tutorial, you will learn- What…
  • AngularJS Tutorial PDF: Step By Step Examples for Beginners
    $20.20 $9.99 for today 4.6 (115 ratings) Key Highlights of AngularJS Tutorial PDF 245+ pages eBook Designed for beginners Beautifully annotated screenshots You will get lifetime download access of this AngularJS Tutorial PDF AngularJS is a JavaScript framework used for building MVC based applications. It is probably one of the…
  • 10 BEST AngularJS Books (2021 Update)
    We are reader supported and may earn a commission when you buy through links on our site AngularJS is a JavaScript framework used for creating single web page applications. It allows you to use HTML as your template language and enables you to extend HTML’s syntax to express your application’s…
  • Polymorphism in Java OOPs with Example: What is, Dynamic
    What is Polymorphism in Java? Polymorphism in Java occurs when there are one or more classes or objects related to each other by inheritance. It is the ability of an object to take many forms. Inheritance lets users inherit attributes and methods, and polymorphism uses these methods to perform different…
  • Inheritance in Java OOPs: Learn All Types with Example
    What is Inheritance? Inheritance is a mechanism in which one class acquires the property of another class. For example, a child inherits the traits of his/her parents. With inheritance, we can reuse the fields and methods of the existing class. Hence, inheritance facilitates Reusability and is an important concept of…
  • Java Stack and Heap: Java Memory Allocation Tutorial
    What is Stack Memory? Stack in java is a section of memory which contains methods, local variables, and reference variables. Stack memory is always referenced in Last-In-First-Out order. Local variables are created in the stack. What is Heap Memory? Heap is a section of memory which contains Objects and may…
  • Java Static Method, Variable and Block with Example
    The static can be: Static Variables Static Methods Static Blocks Of Code. Let’s look at static variables and static methods first. What is Static Variable in Java? Static variable in Java is variable which belongs to the class and initialized only once at the start of the execution. It is…
  • What is Garbage Collection in Java?
    What is Garbage Collection in Java? Garbage Collection in Java is a process by which the programs perform memory management automatically. The Garbage Collector(GC) finds the unused objects and deletes them to reclaim the memory. In Java, dynamic memory allocation of objects is achieved using the new operator that uses…
  • this Keyword in Java: What is & How to use with Example
    What is this Keyword in Java? this keyword in Java is a reference variable that refers to the current object of a method or a constructor. The main purpose of using this keyword in Java is to remove the confusion between class attributes and parameters that have same names. Following…
  • Command Line Arguments in Java with Example
    What is Command Line Argument in Java? Command Line Argument in Java is the information that is passed to the program when it is executed. The information passed is stored in the string array passed to the main() method and it is stored as a string. It is the information…
  • HashMap in Java Learn with Example
    What is Hashmap in Java? A HashMap basically designates unique keys to corresponding values that can be retrieved at any given point. Features of Java Hashmap a) The values can be stored in a map by forming a key-value pair. The value can be retrieved using the key by passing…
  • Top 80 Spring MVC Framework Interview Questions & Answers (2021)
    Following Spring interview questions are for freshers and experienced users 1) What is a spring? Spring is set to be a framework which helps Java programmer for development of code and it provides IOC container, Dependency Injector, MVC flow and many other APIs for the java programmer. 2) What are…
  • Top 20 Maven Interview Questions & Answers (2021 Update)
    1) Explain what is Maven? How does it work? Maven is a project management tool. It provides the developer a complete build lifecycle framework. On executing Maven commands, it will look for POM file in Maven; it will run the command on the resources described in the POM. 2) List…
  • How to easily Convert String to Integer in JAVA
    There are two ways to convert String to Integer in Java, String to Integer using Integer.parseInt() String to Integer using Integer.valueOf() Let’s say you have a string – strTest – that contains a numeric value. String strTest = “100”; Try to perform some arithmetic operation like divide by 4 –…
  • Java String toLowercase() and toUpperCase() Methods
    1. tolowercase() method This Java string method converts every character of the particular string into the lower case by using the rules of the default locale. Note: This method is locale sensitive. Therefore it can show unexpected results if used for strings which are intended to be interpreted separately. Syntax…
  • What is Maven? Project Framework | Uses | Architecture Tutorial
    What is Maven? Maven is an automation and management tool developed by Apache Software Foundation. It is written in Java Language to build projects written in C#, Ruby, Scala, and other languages. It allows developers to create projects, dependency, and documentation using Project Object Model and plugins. It has a…
  • Java String replace(), replaceFirst() & replaceAll() with Examples
    The String Class Java has three types of Replace methods: replace() replaceAll() replaceFirst() With the help of replace() function in Java, you can replace characters in your string. Lets study each Java string API functions in details: Java String replace() Method Java String replace() method replaces every occurrence of a…
  • Top 70 Spring Boot Interview Questions & Answers for 2021

    Following are frequently asked questions in interviews for freshers as well as experienced Java Software Developers.

  • Javascript Tutorial PDF for Beginners (Download Now)
    $20.20 $9.99 for today 4.6 (115 ratings) Key Highlights of JavaScript PDF Tutorial 65+ pages eBook Designed for beginners Beautifully annotated screenshots You will get lifetime download access of this Javascript Tutorial PDF JavaScript is an open source & most popular client-side scripting language supported by all browsers. This PDF…
  • Java String endsWith() Method with Example
    Java String endsWith() The Java String endsWith() method is used to check whether the string is ending with user-specified substring or not. Based on this comparison it returns the result in boolean value true if the specific suffix is matched or it returns false if the suffix does not match….
  • Top 50 JSP Interview Questions & Answers (PDF) in 2021
    Here is a curated list of JSP interview questions and answers for freshers and experienced candidates. These JSP interview questions are likely to be asked during your job interview or viva. These JSP Servlet interview questions will help you easily crack your job interview. JSP Interview Questions and Answers for…
  • Top 100 JavaScript Interview Questions and Answers for 2021
    JavaScript, also abbreviated as JS, is a high-level server-side programming language. JavaScript is widely used worldwide to build various web applications, which means there are huge opportunities for JavaScript programming. To build a JavaScript programming career, candidates need to crack the interview. They are asked for various JavaScript interview questions…
  • Java String contains() Method | Check Substring with Example
    Java String contains() method The Java String contains() method is used to check whether the specific set of characters are part of the given string or not. It returns a boolean value true if the specified characters are substring of a given string and returns false otherwise. It can be…
  • Servlet vs JSP: What’s the Difference?
    What Is Servlet? A servlet is a Java technology that is managed by a container called a servlet engine. It generates dynamic content and interacts with the client through Request and Response. Servlet extends the functionality of a web server. Though servlets can respond to many types of requests, they…
  • Best JavaScript IDE & Code Editor for Windows/Mac (Free/Paid)
    JavaScript is the most popular client-side scripting language supported by all browsers. JavaScript is used to enhance the interaction of a user with the webpage. There are numerous JavaScript IDEs that offer smart code completion and validate errors in real-time. These tools have a syntax checker and debugger for quickly…
  • Java String compareTo() Method: How to Use with Examples
    What is compareTo() method in Java? compareTo() is used for comparing two strings lexicographically. Each character of both strings are converted into a Unicode value. However, if both the strings are equal, then this method returns 0 else it only result either negative or positive value. The Java String compareTo()…
  • 14 Best JavaScript Books for Beginners and Experts [2021 List]
    We are reader supported and may earn a commission when you buy through links on our site JavaScript is an open-source and most popular client-side scripting language supported by all browsers. JavaScript is used mainly for enhancing the interaction of a user with the webpage. Here is a curated list…
  • Debugging in JSP
    Debugging is the process to trace the error in the application. It is not very easy to trace bugs and error in the application. JSP applications are client interactive. Hence, errors are difficult to reproduce. In this tutorial, you will learn- JSP Debugging Methods Using println statements Using Java Logger…
  • JSP File Upload & File Download Program Examples
    In this example, we are going to learn about uploading and downloading of a file through JSP. File Input output are very important operations. Here we are going to read and write a file using JSP. JSP File Upload We can upload any files using JSP. It can be a…
  • 10 BEST JavaScript Courses & Online Certification (Free/Paid)
    JavaScript is the most popular client-side scripting language supported by all browsers. It is used for wide-ranging browser functionalities like validating forms, creating cookies, and more. Moreover, it is considered a high-demanding programming language in the current job market. Decent knowledge of JavaScript programming language not only helps you get…
  • Java String charAt() Method with Example
    What is Java String charAt() Method? The Java String charAt() method returns the character at the definite index from a string. In this Java method, the string index value starts from 0 and goes up to string length minus 1 (n-1). charAt() Method Syntax public char charAt(int index) Parameter Input…
  • Java String indexOf() Method with Substring & Example
    What is indexOf() Method in Java? indexOf() Method is used to get index of the first occurrence of a criteria specified in the parameters of the IndexOf method. A common scenario can be when a system admin wants to find the index of the ‘@’ character of the email Id…
  • Difference Between =, ==, and === in JavaScript [Examples]
    What is = in JavaScript? Equal to (=) is an assignment operator, which sets the variable on the left of the = to the value of the expression that is on its right. This operator assigns lvalue to rvalue. For example, Writing a=10 is fine. If we write 10=10, ‘a’…
  • JSP Program Examples: Registration & Login Form
    In this tutorial, we are going develop sample programs with JSP and using MVC architecture. Following Program Examples, will be developed – Registration form Login and Logout form Using registration form through JSP In Registration form, we will have a form to fill all the details which will contain name,…
  • String Length() Method in Java: How to find with Example
    What is String “Length” Method in Java? This function is used to get the length of string in Java. The string length method returns the number of characters written in the String. This method returns the length of any string which is equal to the number of 16-bit Unicode characters…
  • JSP Database Connection: Select, Insert, Update & Delete Example
    The database is used for storing various types of data which are huge and has storing capacity in gigabytes. JSP can connect with such databases to create and manage the records. In this tutorial, we will learn about how to create a table in the database, and how to create…
  • QuickSort Algorithm in JavaScript
    What is Quick Sort? Quick Sort algorithm follows Divide and Conquer approach. It divides elements into smaller parts based on some condition and performing the sort operations on those divided smaller parts. Quick Sort algorithm is one of the most used and popular algorithms in any programming language. But, if…
  • Node.js Tutorial PDF: Book for Beginners (FREE Download)
    $20.20 $9.99 for today 4.6 (106 ratings) Key Highlights of Node.js Tutorial PDF 107+ pages eBook Designed for beginners Beautifully annotated screenshots You will get lifetime download access of Node.js Tutorial PDF The modern web application has really come a long way over the years with the introduction of many…
  • Top 25 Scala Interview Questions & Answers (2021 Update)
    1) Explain what is Scala? Scala is an object functional programming and scripting language for general software applications designed to express solutions in a concise manner. 2) What is a ‘Scala set’? What are methods through which operation sets are expressed? Scala set is a collection of pairwise elements of…
  • JSP Current Date and Time
    JSP Date Handling All methods of core Java can be used in JSP is the biggest advantage of JSP. In this section, we will be using Date class of java.util package, and it consists of date and time. It supports two constructors: Date() – It gives us current date and…
  • Java vs JavaScript: Most Important Differences You Must Know
    What is Java? Java is a multi-platform, object-oriented, and network-centric, programming language. It is among the most used programming language. It also used as a computing platform, and it was first released by Sun Microsystem in 1995. It was later acquired by Oracle Corporation. In this JavaScript vs Java tutorial,…
  • Java String Manipulation: Functions and Methods with EXAMPLE
    What are Strings? A string in literal terms is a series of characters. Hey, did you say characters, isn’t it a primitive data type in Java. Yes, so in technical terms, the basic Java String is basically an array of characters. So my above string of “ROSE” can be represented…
  • Top 25 Node.js Interview Questions & Answers (2021 Update)
    1) What is node.js? Node.js is a Server side scripting which is used to build scalable programs. Its multiple advantages over other server side languages, the prominent being non-blocking I/O. 2) How node.js works? Node.js works on a v8 environment, it is a virtual machine that utilizes JavaScript as its…
  • Filter Mapping in Web.xml with JSP Servlet Example
    What is JSP Filter? Filters in web.xml are used for filtering functionality of the Java web application. They intercept the requests from client before they try to access the resource They manipulate the responses from the server and sent to the client. Types of Filters in JSP Authentication filters Data…
  • Typescript vs JavaScript: What’s the Difference?
    What is JavaScript? JavaScript is a scripting language which helps you create interactive web pages. It followed rules of client-side programming, so it runs in the user’s web browser without the need of any resources forms the web server. You can also use Javascript with other technologies like REST APIs,…
  • Node.js Vs Python: What’s the Difference?
    What is Node.js? Node.js is a server-side platform built on Google Chrome’s JavaScript Engine. It uses a non-blocking, event-driven I/O model. It allows developers to create data-intensive real-time applications that run across distributed devices. Its applications are written in JavaScript. It can be run on OS X, Microsoft Windows, and…
  • Java ArrayList: How to Use, ArrayList Methods & Examples
    What is ArrayList in Java? ArrayList in Java is a data structure that can be stretched to accommodate additional elements within itself and shrink back to a smaller size when elements are removed. It is a very important data structure useful in handling the dynamic behavior of elements. Wondering how…
  • TypeScript Tutorial: Types, Interfaces, Enums, Arrays, Example
    What is TypeScript? TypeScript is a superset of JavaScript. TypeScript is pure object-oriented programming language that supports classes, interfaces, etc. It is an open-source language developed by Microsoft which statically compiles the code to JavaScript. It can easily run in a browser or Nodejs. All the latest features released for…
  • JSP Form Processing Using getParameter()
    JSP Form Processing Forms are the common method in web processing. We need to send information to the web server and that information. There are two commonly used methods to send and get back information to the web server. GET Method: This is the default method to pass information from…
  • Node.Js Vs AngularJS: Know the Difference
    What is Node JS? Node.js is a cross-platform runtime library and environment for running JavaScript applications outside the browser. This is a free and open source tool used for creating server-side JS applications. Node.js applications are written in JavaScript. This application can runs within the Node.js runtime on Linux and…
  • How to Create Array of Objects in Java
    What Is An Array Of Objects? JAVA ARRAY OF OBJECT, as defined by its name, stores an array of objects. Unlike a traditional array that store values like string, integer, Boolean, etc an array of objects stores OBJECTS. The array elements store the location of the reference variables of the…
  • Cookies in JSP With Example: How to Set Cookies?
    What are Cookies? Cookies are the text files which are stored on the client machine. They are used to track the information for various purposes. It supports HTTP cookies using servlet technology The cookies are set in the HTTP Header. If the browser is configured to store cookies, it will…
  • GraphQL vs REST: What’s the Difference?
    What is GraphQL? GraphQL is an application layer server-side technology which is developed by Facebook for executing queries with existing data. GraphQL can optimize RESTful API calls. It gives a declarative way of fetching and updating your data. GraphQL helps you to load data from server to client. It enables…