Vikyath Ram has Published 160 Articles

How to search the value of the href attribute of a link in JavaScript?

Vikyath Ram

Vikyath Ram

Updated on 18-Nov-2023 03:22:23

1K+ Views

To get the value of the href attribute of a link in JavaScript, use the href property. It gives you the URL of the linked document in JavaScript.ExampleYou can try to run the following code to get the value of the href attribute of a link.   ... Read More

Network Software

Vikyath Ram

Vikyath Ram

Updated on 07-Nov-2023 13:08:25

16K+ Views

Network software encompasses a broad range of software used for design, implementation, and operation and monitoring of computer networks. Traditional networks were hardware based with software embedded. With the advent of Software – Defined Networking (SDN), software is separated from the hardware thus making it more adaptable to the ever-changing ... Read More

How to add background music to your web page?

Vikyath Ram

Vikyath Ram

Updated on 13-Sep-2023 15:40:09

28K+ Views

To add background music on a web page, use … element. Also, use the autoplay attribute. This will run music in the background whenever the page loads.Set the width and height in a way the player hides on the web page. The loop attribute is added to specify whether the ... Read More

The OSI Reference Model

Vikyath Ram

Vikyath Ram

Updated on 02-Sep-2023 11:45:25

62K+ Views

OSI or Open System Interconnection model was developed by International Standards Organization (ISO). It gives a layered networking framework that conceptualizes how communications should be done between heterogeneous systems. It has seven interconnected layers. The seven layers of the OSI Model are a physical layer, data link layer, network layer, ... Read More

Are Multiple Constructors possible in Java?

Vikyath Ram

Vikyath Ram

Updated on 30-Jun-2020 08:45:40

11K+ Views

There can be multiple constructors in a class. However, the parameter list of the constructors should not be same. This is known as constructor overloading.A program that demonstrates this is given as follows −Example Live Democlass NumberValue {    private int num;    public NumberValue() {       num = ... Read More

Using Method Overloading in Java

Vikyath Ram

Vikyath Ram

Updated on 30-Jun-2020 08:42:54

379 Views

A class can have multiple methods with the same name but the parameter list of the methods should not be the same. This is known as method overloading. Method overloading is somewhat similar to constructor overloading.A program that demonstrates this is given as follows −Example Live Democlass PrintValues {    public ... Read More

Class declaration with one method in Java

Vikyath Ram

Vikyath Ram

Updated on 30-Jun-2020 08:34:50

252 Views

A class declaration can contain a single method. A program that demonstrates this is given as follows:Example Live Democlass Message {    public void messagePrint() {       System.out.println("This is a class with a single method");    } } public class Demo {    public static void main(String args[]) { ... Read More

Use Pattern class to match in Java

Vikyath Ram

Vikyath Ram

Updated on 30-Jun-2020 08:33:56

109 Views

The representation of the regular expressions are available in the java.util.regex.Pattern class. This class basically defines a pattern that is used by the regex engine.A program that demonstrates using the Pattern class to match in Java is given as follows −Example Live Demoimport java.util.regex.Matcher; import java.util.regex.Pattern; public class Demo {   ... Read More

Working with simple groups in Java Regular Expressions

Vikyath Ram

Vikyath Ram

Updated on 30-Jun-2020 08:29:44

113 Views

Multiple characters can be treated as a single unit using groups in Java regular expressions. The method java.time.Matcher.group() is used to find the subsequence in the input sequence string that is a match to the required pattern.A program that demonstrates groups in Java regular expressions is given as follows −Example Live ... Read More

Convert a Vector to an array in Java

Vikyath Ram

Vikyath Ram

Updated on 30-Jun-2020 08:18:22

846 Views

A Vector can be converted into an Array using the java.util.Vector.toArray() method. This method requires no parameters and it returns an Array that contains all the elements of the Vector in the correct order.A program that demonstrates this is given as follows −Example Live Demoimport java.util.Vector; public class Demo {   ... Read More

1 2 3 4 5 ... 16 Next
Advertisements