Fendadis John has Published 39 Articles

How to add a YouTube Video to your Website?

Fendadis John

Fendadis John

Updated on 16-Jun-2020 08:20:41

902 Views

To add a YouTube Video to your website, you need to embed it. To embed a video in an HTML page, use the element. The source attribute included the video URL. For the dimensions of the video player, set the width and height of the video appropriately.The Video URL ... Read More

Java variable declaration best practices

Fendadis John

Fendadis John

Updated on 15-Jun-2020 05:46:54

2K+ Views

Following are the best practices while declaring a variable.Variables names should be short or long enough as per the scope. For example, loop counter variable, i is fine whereas employee as a loop variable.Specific words should not be used as equals, compare, data.Use meaningful names which can explain the purpose ... Read More

How to set the shape of the border of the top-right corner with JavaScript?

Fendadis John

Fendadis John

Updated on 23-May-2020 10:08:48

259 Views

To set the shape of the border of the top-right corner in JavaScript, use the borderTopRightRadius property. Set border radius using this property.ExampleYou can try to run the following code to learn how to set the shape of the top-right border with JavaScript.Live Demo           ... Read More

How to import java.lang.String class in Java?

Fendadis John

Fendadis John

Updated on 26-Feb-2020 05:48:03

18K+ Views

To import any package in the current class you need to use the import keyword asimport packagename;ExampleLive Demoimport java.lang.String; public class Sample {    public static void main(String args[]) {       String s = new String("Hello");       System.out.println(s);    } }OutputHello

How to redirect URLs with your Hosting Account?

Fendadis John

Fendadis John

Updated on 25-Feb-2020 06:31:24

266 Views

You can easily redirect URLs to the settings under your hosting account. Let’s say you have a blogger blog and you want to redirect it to your website.A redirect automatically sends your visitors to another destination, within the same site or a new URL.Follow the below given steps to redirect ... Read More

Converting ArrayList to String[] in java

Fendadis John

Fendadis John

Updated on 24-Feb-2020 10:28:51

511 Views

Following program is converting an ArrayList to String[];Exampleimport java.util.ArrayList; import java.util.List; public class Tester {    public static void main(String[] args) {       List names = new ArrayList();       names.add("A");       names.add("B");       names.add("C");       String[] nameArray = names.toArray(new ... Read More

Creating a variable with dynamic variable type in SAP ABAP

Fendadis John

Fendadis John

Updated on 13-Feb-2020 10:12:00

3K+ Views

You can use RTTS related API to create a Standard table like RANGE which has components like 'LOW', 'HIGH', 'EQ' and 'OPTION'data:    rr_data              type ref to data,    rt_range_string      type range of string,    rs_range_string      like line of rt_range_string, ... Read More

How can we split the name string into two parts by using MySQL SUBSTRING_INDEX() function?

Fendadis John

Fendadis John

Updated on 10-Feb-2020 07:22:10

339 Views

To make it understand, we are using the following data from a table named ‘customerdetail’.mysql> Select * from Customerdetail; +----------------------+----------------------+-----------+---------------------+ | Name                 | FName                | Address   | Emailid             ... Read More

How to create a website without using HTML?

Fendadis John

Fendadis John

Updated on 25-Sep-2019 07:52:30

3K+ Views

If you are having no knowledge of HTML or CSS, and want to create a website, then do not worry, you can easily create a website without writing even a single line of HTML code.Here are some ways to build a website without writing any HTML or line of code:Website ... Read More

How to make an HTTP request on iOS App using Swift?

Fendadis John

Fendadis John

Updated on 30-Jul-2019 22:30:25

948 Views

To make an http request in iOS we’ll make use of DataTask and sessions. We’ll create configuration, sessions, url, request, and dataTask objects. Let’s see the steps that we’ll go through.The HTTP request can be of different types, it depends on what kind of request we want to make to ... Read More

Advertisements