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 are Higher-Order Functions in functional programming of javascript ?

In functional programming, a higher-order function is a function that takes one or more functions as arguments or returns a function as its result. This concept is a fundamental aspect of functional programming languages, and it’s particularly prevalent in JavaScript. Here are two main ways in which functions in JavaScript can be higher-order: Higher-order functions … Read more

How Data Transformations works in Javascript ?

Data transformations in JavaScript involve manipulating and changing the structure or content of data. There are various techniques and functions available in JavaScript to perform these transformations. Here are some common approaches and methods: These are just a few examples, and the appropriate method depends on the specific transformation needed and the nature of the … Read more

What is Immutability in JavaScript Functional Concepts?

Immutability is a core concept in functional programming that emphasizes the use of data structures that do not change after they are created. In JavaScript, which supports both functional and object-oriented programming paradigms, immutability involves avoiding modifications to existing data and instead creating new data structures with the desired changes. Key aspects of immutability in … Read more