Giri Raju has Published 116 Answers

Execute a script when the media has reached the end of HTML?

Giri Raju

Giri Raju

Updated on 03-Mar-2020 09:43:24

Use the onended attribute in HTML to execute a script when the media has reached the end in HTML . You can add messages like “Thank you for watching”, “Stay tuned!”, etc.ExampleYou can try to run the following code to implement the onended attribute −<!DOCTYPE HTML> <html>    <body>       ... Read More

How do we embed audio in web pages in HTML5?

Giri Raju

Giri Raju

Updated on 03-Mar-2020 05:57:56

Use the <audio> tag to embed audio in a web page in HTML5. You can try to run the following code to implement <audio> tag −Example<!DOCTYPE html> <html>    <head>       <title>HTML audio Tag</title>    </head>    <body>       <p>Click on Play button...</p>       ... Read More

How to include an alternate text when the original element fails to display in HTML?

Giri Raju

Giri Raju

Updated on 02-Mar-2020 12:41:03

Use the alt attribute to add alternative text for an image. If the user fails to view it (loading issue), then the same text will be visible. In addition, the attribute helps screen readers in reading the content to the user.ExampleYou can try to run the following code to implement alt ... Read More

Integrating .NET application with SAP system and using best practices

Giri Raju

Giri Raju

Updated on 26-Feb-2020 10:17:01

To connect a .NET application with SAP system, there are different approaches that you can follow:Use of SAP PI middleware that offers different protocols and communication framework for integration of two systems. SAP PI/XI enables you to set up cross system communication and integration and allows you to connect SAP ... Read More

Pass by reference vs Pass by Value in java

Giri Raju

Giri Raju

Updated on 25-Feb-2020 05:22:52

Call by Value means calling a method with a parameter as value. Through this, the argument value is passed to the parameter.While Call by Reference means calling a method with a parameter as a reference. Through this, the argument reference is passed to the parameter.In call by value, the modification ... Read More

Returning an Array from a Method in Java

Giri Raju

Giri Raju

Updated on 25-Feb-2020 05:21:22

A method may also return an array. For example, the following method returns an array that is the reversal of another array -Examplepublic static int[] reverse(int[] list) {    int[] result = new int[list.length];    for (int i = 0, j = result.length - 1; i < list.length; i++, j--) ... Read More

How to create a dynamic 2D array in Java?

Giri Raju

Giri Raju

Updated on 24-Feb-2020 11:15:24

If you wish to create a dynamic 2d array in Java without using List. And only create a dynamic 2d array in Java with normal array then click the below linkYou can achieve the same using List. See the below program. You can have any number of rows or columns.Exampleimport ... Read More

java access modifiers with method overriding

Giri Raju

Giri Raju

Updated on 24-Feb-2020 06:03:42

Yes, an overridden method can have a different access modifier but it cannot lower the access scope.The following rules for inherited methods are enforced -Methods declared public in a superclass also must be public in all subclasses.Methods declared protected in a superclass must either be protected or public in subclasses; ... Read More

How can I change the default sort order of MySQL tables?

Giri Raju

Giri Raju

Updated on 21-Feb-2020 07:09:56

As we know that when we use ORDER BY Clause, the default sort order of MySQL table is ascending, start with the smallest value. We can change this default order by using DESC keyword along with ORDER BY Clause. The following example will clarify this concept −>mysql> Select * from ... Read More

Finding the table from which data is fetched in SAP

Giri Raju

Giri Raju

Updated on 13-Feb-2020 12:49:48

You can get the data if it is displayed in a transaction. Here are the steps you need to follow.a) First point the cursor on the field for which you want to get the data.b) Press F1 for help. This will open a dialog with heading “Performance assistant”c) Click on ... Read More

Previous 1 ... 4 5 6 7 8 9 10 ... 12 Next
Advertisements