Working With Arrays in Java
Arrays refer to a sequential collection of elements of the same type. It is used to store a collection of data. Unlike Javascript where an array can hold many elements…
Arrays refer to a sequential collection of elements of the same type. It is used to store a collection of data. Unlike Javascript where an array can hold many elements…
Throw Throw is a keyword that is used in Java to declare an exception which is similar to the try/catch block. It is used to declare an explicit exception inside…
Unlike logical operators which connect two or more expressions, relational operators test and establish some type of relation between two or more operands. There are six (6) relational operators, which…
Template literals allow for embedded expressions and help to solve the complex concatenation problem. They are enclosed by a back-tick character (the button just below the escape key on your…
“Programs must be written for people to read, and only incidentally for machines to execute.” — Harold Abelson, Structure and Interpretation of Computer Programs Logical operators are generally symbols or…
Network scanning is the process of identifying, analysing and fixing loopholes and vulnerabilities in a network to prevent a malicious attacker from gaining access to your network system. For a…
The box shadow property in CSS is used to cast shadow on the frame of elements. It has the following syntax: -webkit-box-shadow /* Safari, iOS */ -moz-box-shadow /* Firefox */…
A function is a group of reusable code that can be called anywhere in your program. Functions eliminate the need of writing the same code again and again. Functions also…
React Native is an open-source mobile application framework created and developed by Facebook, Inc. It is used to develop native applications for Android, Android TV, iOS, macOS, tvOS, web, windows…
Inheritance in programming is the process whereby one class (also called a sub-class) acquires the properties (methods, fields, etc) of another (in this case a super class) using the extends…
An exception is a problem that arises during the execution of a program. When an exception occurs, the normal flow of the program is disrupted and the program or application…
Arithmetic operators are used in mathematical expressions much the same way they are used in algebra. Here’s a list of them: Addition (+): Adds the values on either side of…
We’ve all been harassed with the following request: This website uses cookies … Please accept to continue … Oh yeah! Cookies are data that are collected from websites that you…
Arrow functions, also called “fat arrows” were introduced with ES6 as a new syntax for writing Javascript functions. By utilising a token (=>) that looks like a fat arrow, they…
The Array filter method is used to check against a given condition.
A recursive function is one which defines a problem in terms of itself. A recursive function calls itself directly or indirectly until it is stopped. If it is not stopped,…
Object oriented programming is a way of writing code such that different objects (instances) are created from a single object (blueprint). Each created instance usually have properties that are not…
Humans can use technologies in either harmful or helpful ways. And while, as a software developer, you are legally not responsible for the actions of people who use your applications,…
Also known as ECMAScript 6, ECMAScript 2015 or Javascript 6, ES6 is a version of Javascript that was introduced in 2105. ECMAScript (ES) is a scripting language specification standardised by…
A recursive function is one which defines a problem in terms of itself. A recursive function calls itself directly or indirectly until it is stopped. If it is not stopped,…
Var Declaration Before the introduction of ES6 in 2015, var was the go-to way to declare variables in Javascript. Example: But because variable declarations are processed before any code is…