Articles on Trending Technologies

Technical articles with clear explanations and examples

Difference Between DDA and Bresenham Line Drawing algorithm

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 28-Jul-2022 17K+ Views

The realm of computer graphics is an expansive one that is always undergoing development. It involves a variety of concepts and ideas, of which "drawing a line" is the most fundamental tasks involved in working with graphical media.There are two algorithmic rules that are followed while drawing a line on the screen. They are DDA (Digital Differential Analyser) algorithmic rule and Bresenham line algorithm.Both the DDA and Bresenham's algorithm are examples of computational procedures that can be utilised for the goal of approximating the length of a line segment.What is DDA?The primary purpose of a DDA in computer graphics is ...

Read More

Difference between NodeJS and AngularJS

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 28-Jul-2022 1K+ Views

The demand for different programming languages is constantly shifting due to the creation of new mobile and online applications. Additionally, emerging programming languages provide useful capabilities for the construction of powerful websites. A study done by developers at 2020 shows that JavaScript is widely considered to be one of the most popular technologies.Both NodeJS and AngularJS are open-source technologies that are based on JavaScript and are in wide use. AngularJS is a framework written in JavaScript, while NodeJS is a runtime environment that works across several platforms.Angular is a client-side JavaScript framework that allows developers to construct dynamic web applications ...

Read More

Difference between inheritance and composition in Java

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 28-Jul-2022 4K+ Views

In computer programming, the concept of reusable code refers to the utilisation of previously developed software in the construction of new software. Reusability of code is recognised as an essential component of productive functionality. Establishing associations between classes is one method that object-oriented programming uses to encourage this.In object-oriented programming, there are two primary ways to construct these relationships: inheritance and composition.In object-oriented programming (OOP), inheritance refers to the process through which an object can take on the properties of one or more other objects. In OOP, it is one of the most powerful concepts for establishing code reusability. When ...

Read More

Difference between Hive and HBase

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 28-Jul-2022 3K+ Views

Hive and HBase are Hadoop-based Big Data solutions. These technologies serve different purposes in almost any real use scenario. When you log onto Facebook, you may see your friend's list, a news feed, ad suggestions, friend suggestions, etc. Twitter is similar.Apache Hadoop, along with other technologies we'll explore today, such as Apache Hive vs. Apache HBase, is how Facebook loads all of its messy data in a presentable manner. Apache Hadoop enables Facebook's two billion-plus daily users.Because Big Data systems are complicated, all technologies must be used together. Hive is recommended for analyzing time-series data. It can evaluate trends and ...

Read More

Difference between constructor and method in Java

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 28-Jul-2022 12K+ Views

Classes are the fundamental building blocks of Java. It is a programmable template that can be expanded upon, and it determines the form and characteristics of an item. One may say that a class is the most fundamental component of an object oriented programming language like Java. Each and every idea that will be put into action by means of a Java application must first be encased inside of a class. In object-oriented programming, the fundamental building blocks are called classes objects.Variables and methods are the building blocks of a Java class. Instance variables are the terms used to refer ...

Read More

Swift Program to Find the Perimeter of a Circle

Ankita Saini
Ankita Saini
Updated on 28-Jul-2022 3K+ Views

This tutorial will discuss how to write a Swift program to find the perimeter of the circle.Perimeter of the circle is also known as the circumference of the circle. It is used to calculate the boundary of the circle. Suppose we want to fence our circular garden so with the help of perimeter we can calculate the total amount of fence required to cover the boundary of the garden. We can calculate the perimeter of the circle with the help of the radius or diameter, here, Radius − It is known as the distance from the center to a point ...

Read More

How to Print an Integer in Swift Program?

Ankita Saini
Ankita Saini
Updated on 28-Jul-2022 2K+ Views

This tutorial will discuss how to write a swift program to print an Integer. Integers represents the number with no fractional component like 45, 980, -234, 24, etc. Swift supports both signed as well as unsigned integers in 8, 16, 32, and 64 bit. Here signed integer is represented by Int whereas unsigned integer is represented by UInt and their size is same as the current platform e.g if the platform is 32-bit then the size is Int32 or UInt32 unless you work with some specific size of the integer.SyntaxFollowing is the syntax for creating integer type variablevar x : ...

Read More

Swift Program to Find Area of Square

Ankita Saini
Ankita Saini
Updated on 28-Jul-2022 3K+ Views

This tutorial will discuss how to write a swift program to find the area of square.A Square is a two-dimensional closed figure with four equal side and four equal angle. It can also have two diagonals of equal length. The area of the square is known as the space that is enclosed inside the boundaries of the square. Suppose we have a square study table now the area of the square helps us to find how much cloth we required to cover the top of the table. The area of the square is the product of its two side.FormulaFollowing is ...

Read More

Difference between abstract class and interface

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 28-Jul-2022 7K+ Views

An abstract class can contain both abstract and non-abstract methods, whereas an Interface can have only abstract methods. Abstract classes are extended, while Interfaces are implemented. Read through this article to find out the other differences between an Abstract Class and an Interface and how they are used in real programs.What is an Abstract Class?An abstract class acts as a template that stores the methods and data members of a program. You should use an abstract class when you expect that it will inherited by different sub-classes with common methods and fields.Abstract classes may or may not contain abstract methods, ...

Read More

Difference b/w getText() and getAttribute() in Selenium WebDriver

Kiran Kumar Panigrahi
Kiran Kumar Panigrahi
Updated on 28-Jul-2022 10K+ Views

Selenium WebDriver is an automation tool that is used to automate the testing of web applications and make sure they work as expected. Automation means the programmer doesn't have to write testing scripts; Selenium can write test cases without any script.Selenium supports a wide variety of programming languages such as Java, Python, PHP, Ruby, C#, Perl, Scala, etc. which means Selenium can provide test cases in any of these languages. It supports all the popular browsers such as Chrome, Firefox, Safari, and Internet Explorer. Selenium is an open-source tool which makes it even more popular among developers.In this article, we ...

Read More
Showing 43541–43550 of 61,297 articles
Advertisements