Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint
Cover Image
Cover Image
Drag to reposition
Contributed Answers

How to Insert Hyperlink in HTML Page?

I have some web pages in HTML. I need to insert hyperlinks in one of the web page to link it with other web pages. How can I do it correctly and which tag is used for this purpose?
Answered on 17th Jan, 2018, 0 Views

With HTML, easily add hyperlinks to any HTML page. Link team page, about page, or even a test by creating it a hyperlink. You can also create a hyperlink for an external website. To make a hyperlink in an HTML page, use the <a> and </a> tags, which are the tags used to define the links. The <a> tag indicates where the hyperlink starts and the </a> tag indicates where.....

How to create Paragraphs in HTML Page?

I am new to HTML and quite aware about the HTML structure. However, I need to create paragraphs in HTML, to easily add content in the form of paragraphs. How can I do that?
Answered on 17th Jan, 2018, 0 Views

HTML provides <p> tag to add paragraph to an HTML Document. It has a start tag <p> and an end tag </p>. Always use <p>…</p> tags inside <body>…</body> tag. Just keep in mind, multiple <p>…</p> can be used in an HTML page inside the <body>…</body> tag.  You can try the following code to create .....

How to create headings in HTML page?

How to create headings and what all tags can be included while adding headings to an HTML document. Which is the heading tag to add the most and least important heading?  I know the following to headings:  ,
Answered on 17th Jan, 2018, 0 Views

HTML provides 6 tags to create headings i.e. h1, h2, h3, h4, h5 and h6. Use any of the heading tags <h1> to <h6> and every tag will give you the different size of the heading. The <h1>tag defines the most important heading and <h6> defines the least important heading. Just keep in mind that you should use these tags inside <body>…</body> tags. You.....

What does the method copyOfRange(int[] original, int from, int to) do in java?

What does the method copyOfRange(int[] original, int from, int to) do in java?
Answered on 16th Jan, 2018, 0 Views

The copyOfRange(int[] original, int from, int to) method of java.util.Arrays class copies the specified range of the specified array into a new array. The final index of the range (to), which must be greater than or equal to from, may be greater than original. Length, in which case 0 is placed in all elements of the copy whose index is greater than or equal to original. Length - from. The l.....

What does the method fill(int[], int val) do in java?

What does the method fill(int[], int val) do in java?
Answered on 16th Jan, 2018, 0 Views

The fill(int[] a, int val) method of the java.util.Arrays class assigns the specified int value to each element of the specified array of integers. Example: , Output: ,

What does the method hashCode(int[] a) do in java?

What does the method hashCode(int[] a) do in java?
Answered on 16th Jan, 2018, 0 Views

The hashCode(int[]) method of the java.util.Arrays class returns a hash code based on the contents of the specified array. For any two non-null int arrays a and b such that Arrays.equals(a, b), it is also the case that Arrays.hashCode(a) == Arrays.hashCode(b). Example: , Output: ,

What is the difference between >> and >>> operators in Java?

What is the difference between >> and >>> operators in Java?
Answered on 8th Jan, 2018, 0 Views

The left operand value is moved right by the number of bits specified by the right operand. The left operand value is moved right by the number of bits specified by the right operand and shifted values are filled up with zeros.

What are the assignment operators in Java?

What are the assignment operators in Java?
Answered on 8th Jan, 2018, 0 Views

Following are the assignment operators supported by Java language: OperatorDescriptionExample=Simple assignment operator. Assigns values from right side operands to left side operand.C = A + B will assign value of A + B into C+=Add AND assignment operator. It adds right operand to the left operand and assigns the result to the left operand.C += A is equivalent to C = C + A-=Subtract AND ass.....

What are the arithmetic operators in Java?

What are the arithmetic operators in Java?
Answered on 4th Jan, 2018, 0 Views

Arithmetic operators are used in mathematical expressions in the same way that they are used in algebra. The following table lists the arithmetic operators:  Assume integer variable A holds 10 and variable B holds 20, then – OperatorDescriptionExample+ (Addition)Adds values on either side of the operator.A + B will give 30- (Subtraction)Subtracts right-hand operand from left-hand.....

When a thread is created and started, what is its initial state?

When a thread is created and started, what is its initial state?
Answered on 4th Jan, 2018, 0 Views

When a new thread begins its life cycle in the new state. It remains in this state until the program starts the thread. It is also referred to as a born thread. After this newly born thread is started, the thread becomes runnable. A thread in this state is considered to be executing its task.

loader
Advertisements
Contribution

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.