Abstract class in Java

A class that is declared with abstract keyword, is known as abstract class in java. It can have abstract and non–abstract methods (method with body) Abstraction in Java Abstraction is a process of hiding the implementation details and showing only functionality to the user Abstraction lets you focus on what the object does instead of … Read more

Access Modifiers in Java

The access modifiers in Java specifies the accessibility or scope of a field, method, constructor, or class. We can change the access level of fields, constructors, methods, and class by applying the access modifier on it. There are four types of Java access modifiers: Private:The access level of a private modifier is only within the … Read more

Servlets in Java

Servlets are java programs that run on web or application servers, servlets are also called server side programs i.e the code of the program executes at server side, acting as a middle layer between request coming from Web browsers or other HTTP clients and databases or applications on the HTTP server. A servlet container uses … Read more

What is Higher-Order Functions in functional programming of javascript ?

Higher-order functions are very useful in asychronous task.in functional programming of javascript Array.map, Array.filter, and Array.reduce methods all take functions as arguments. They are higher-order functions. Example Currying is a functional technique that involves the use of higher-order functions. Currying is the practice of holding on to some of the values needed to complete an … Read more

How Data Transformations works in Javascript ?

Functional programming is all about transforming data from one form to another. We will produce transformed copies using functions. These functions make our code less imperative and thus reduce complexity Data Transformations two core functions are Array.map Array.reduce join() method in javascript join is a built-in JavaScript array method that we can use to extract … Read more

What is Immutability in javascript Functional Concepts ?

. Immutability in functional Concepts is how original data is unchangable. but function can change the public data. To understand how immutability works in functional concept, let’s take a look at what it means to mutate data Example in the above example color object is immutable in functional concepts e.g rating has been changed in … Read more