- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Lakshmi Srinivas has Published 315 Articles
![Lakshmi Srinivas](https://www.tutorialspoint.com/assets/profiles/13528/profile/60_91717-1512651120.jpg)
Lakshmi Srinivas
114 Views
The outline property is a shorthand property that allows you to specify values for multiple properties such as width, line style, and color of the outline.Example This text is having thin solid freen outline. This text is having thick dashed green outline.
![Lakshmi Srinivas](https://www.tutorialspoint.com/assets/profiles/13528/profile/60_91717-1512651120.jpg)
Lakshmi Srinivas
5K+ Views
Place your CSS rules into an HTML document using the element that is called embedded CSS. This tag is placed inside ... tags. Rules defined using this syntax will be applied to all the elements available in the document.Following is the example of embed CSS based on the above ... Read More
![Lakshmi Srinivas](https://www.tutorialspoint.com/assets/profiles/13528/profile/60_91717-1512651120.jpg)
Lakshmi Srinivas
337 Views
The position property specifies the type of positioning method used for an element (static, relative, absolute, fixed, or sticky).In the below-given example, no height is specified in percentage and no jQuery is needed.mainbody{ position: absolute;//here we are setting the position of an element as absolute top: 30px; ... Read More
![Lakshmi Srinivas](https://www.tutorialspoint.com/assets/profiles/13528/profile/60_91717-1512651120.jpg)
Lakshmi Srinivas
67 Views
One of the divs, when placed in another style sheet, can make menu invisible in Internet Explorer.If opacity property is used which is not a cross-border solution, it should be like the following to display −opaque { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; // first filter: alpha(opacity=90); // second }
![Lakshmi Srinivas](https://www.tutorialspoint.com/assets/profiles/13528/profile/60_91717-1512651120.jpg)
Lakshmi Srinivas
128 Views
The equals(Object[] a, Object[] a2) method of the java.util.Arrays class returns true if the two specified arrays of objects are equal to one another. The two arrays are considered equal if both arrays contain the same number of elements, and all corresponding pairs of elements in the two arrays are equal. ... Read More
![Lakshmi Srinivas](https://www.tutorialspoint.com/assets/profiles/13528/profile/60_91717-1512651120.jpg)
Lakshmi Srinivas
13K+ Views
To sort a String array in Java, you need to compare each element of the array to all the remaining elements, if the result is greater than 0, swap them.One solution to do so you need to use two loops (nested) where the inner loop starts with i+1 (where i ... Read More
![Lakshmi Srinivas](https://www.tutorialspoint.com/assets/profiles/13528/profile/60_91717-1512651120.jpg)
Lakshmi Srinivas
162 Views
In Java methods, parameters accept arguments with three dots. These are known as variable arguments.sample(int args …){}If they are used you can pass a different number of arguments each time you call these methods.Examplepublic class Sample { void demoMethod(String... args) { for (String arg: args) { ... Read More
![Lakshmi Srinivas](https://www.tutorialspoint.com/assets/profiles/13528/profile/60_91717-1512651120.jpg)
Lakshmi Srinivas
166 Views
Recursion is where which a method class itself.Examplepublic class RecursionExample { private static long factorial(int n) { if (n == 1) return 1; else return n * factorial(n-1); } public static void main(String args[]) { RecursionExample obj = new RecursionExample(); long result = obj.factorial(5); System.out.println(result); } }