Types of Application Programming Interface (API) and Their Security Vulnerabilities

Govind
Updated on 25-Aug-2022 10:21:15

1K+ Views

What Is Application Programming Interface. API is the acronym for Application Programming Interface, API is a set of defined rules that explain how computers or applications communicate with one another. APIs implemented between application and web server, acting as an intermediary layer that processes data transfer between systems. Types of API’s They are four main types of API’s Open APIs− Open-source application programming interfaces Also known as Public API, there are no restrictions to access these types of APIs because they are publicly available. Open APIs can been can been access by any developer. Partner APIs− This API exposed ... Read More

Anonymous Object in Java

Janani Jaganathan
Updated on 25-Aug-2022 10:00:49

15K+ Views

Anonymous object in Java means creating an object without any reference variable. Generally, when creating an object in Java, you need to assign a name to the object. But the anonymous object in Java allows you to create an object without any name assigned to that object. So, if you want to create only one object in a class, then the anonymous object would be a good approach. Reading this article, you will learn what an anonymous object is and how to create and use anonymous objects in Java. Let's get started! Anonymous Object in Java Anonymous means Nameless. An ... Read More

Top Resources for Java Interview Questions

Janani Jaganathan
Updated on 25-Aug-2022 09:06:56

411 Views

Are you a fresher or final-year graduate looking to start your career as a Java developer? Have you already landed as a java developer and are looking to prepare for the next company? If you say "Yes" to any of these questions, then you are at the right place. In this article, you will come across the top resources and websites that will help you to prepare and do well in java programming interviews. The list includes popular online platforms and websites like Tutorialspoint, StackOverflow, DZone, etc., where you can learn frequently asked java questions in top companies' interviews and ... Read More

Different Methods to Append a Single Character to a String or Char Array in Java

Janani Jaganathan
Updated on 25-Aug-2022 09:06:21

846 Views

Have you ever faced the situation of extending a string or char array? If you haven't yet, you might probably encounter this situation in the future. It is a common practice to append a single character to a string or char array in Java. The significant difference between a string array and a char array is that a string array is a sequence of characters, and a char array is a sequence of collection of data type char. String array runs as a single entity, whereas char array runs as a separate entity. In this blog, we will look ... Read More

Find Cosine of Given Radian Value in Swift

Ankita Saini
Updated on 25-Aug-2022 09:02:20

511 Views

This tutorial will discuss how to write a Swift program to find the cosine of given radian value. A cosine function is used to define the ratio of the length of the adjacent side to the hypotenuse in the right-angled triangle. It is also known as the cos function. The mathematical representation of the cosine() function is − cos() = adjacent Side/ hypotenuse In Swift, we can calculate the cosine of the given radian value using the pre-defined cos() function. This function return the cosine value of the specified number between -1 to 1. Here, the specified number represent ... Read More

Find Sine of Given Radian Value in Swift

Ankita Saini
Updated on 25-Aug-2022 09:01:04

783 Views

This tutorial will discuss how to write a Swift program to find the sine of given radian value. A sine function is used to define the ratio of the length of the opposite side to the hypotenuse in the right-angled triangle. It is also known as the sin function. The mathematical representation of the sine() function is: sin() = opposite Side/ hypotenuse In Swift, we can calculate the sine of the given radian value using the pre-defined sin() function. This function return the sine value of the specified number between -1 to 1. Here, the specified number represents an ... Read More

Calculate Volume and Area of Sphere in Swift

Ankita Saini
Updated on 25-Aug-2022 08:59:43

381 Views

This tutorial will discuss how to write a Swift program to calculate the volume and area of the Sphere. A sphere is a three-dimensional round solid shape or object. Or we can say a sphere is a shape that is defined in three axes: x-axis, y-axis, and z-axis. It does not hold any vertices or edges. Volume of the Sphere The amount of space occupied by a sphere in the three-dimensional plane is known as the volume of a sphere. For example, we want to fill a spherical ball with liquid, so using volume we can calculate the required ... Read More

Calculate Volume and Area of Cylinder in Swift

Ankita Saini
Updated on 25-Aug-2022 08:56:31

431 Views

This tutorial will discuss how to write a Swift program to calculate the volume and area of the cylinder. A cylinder is a three-dimensional shape that has two identical parallel circular bases joined by a curved surface.Volume of the Cylinder The amount of space occupied by the cylinder in the three-dimensional plane is known as the volume of the cylinder. For example, we want to fill a cylindrical bottle with shampoo, so using volume we can calculate the required amount of shampoo. We can calculate the volume of the cylinder using radius and height of the cylinder. Formula Following is ... Read More

Calculate the Sum of First N Odd Numbers in Swift

Ankita Saini
Updated on 25-Aug-2022 08:51:55

521 Views

This tutorial will discuss how to write a Swift program to find the sum of first N odd numbers.A number that is not divisible by 2 or we can say that when an odd number is divided by 2 then it leaves some remainder such type of number is known as an odd number. For example, when 2 divides by 2 leave remainder 0 whereas 3 divides by 2 leaves remainder 1. So it means 2 is even number and 3 is an odd number. List of odd numbers is: 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, ... Read More

Calculate Sum of All Odd Numbers Up to n in Swift

Ankita Saini
Updated on 25-Aug-2022 08:29:48

712 Views

This tutorial will discuss how to write a Swift program to find the sum of all odd numbers upto N. A number that is not divisible by 2 or we can say that when an odd number is divided by 2 then it leaves some remainder such type of number is known as an odd number. For example, when 2 divides by 2 leave remainder 0 whereas 3 divides by 2 leaves remainder 1. So it means 2 is an even number and 3 is an odd number. List of odd numbers is − 1, 3, 5, 7, 9, 11, ... Read More

Advertisements