- 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
Abhinanda Shri has Published 74 Articles
Abhinanda Shri
528 Views
To convert time in seconds, firstly get the current time. Then, multiply the hours to 3600 and minutes to 60; rest you can see below −(hours*3600) + (min*60) + secExampleYou can try to run the following code to get the current time in seconds −Live Demo ... Read More
Abhinanda Shri
239 Views
To reverse the order of a JavaScript array, use the JavaScript array() method. JavaScript array reverse() method reverses the elements of an array. The first array element becomes the last and the last becomes the first.ExampleYou can try to run the following code to reverse the order of a JavaScript ... Read More
Abhinanda Shri
1K+ Views
ExampleLive Demoimport java.util.Arrays; public class ArrayWithinAnArray{ public static void main(String args[]) { int[] myArray1 = {23, 56, 78, 91}; int[] myArray2 = {123, 156, 178, 191}; int[] myArray3 = {223, 256, 278, 291}; int[] myArray4 = {323, 356, 378, 391}; int [][] arrayOfArrays = {myArray1, myArray2, myArray3, myArray4}; System.out.println(Arrays.deepToString(arrayOfArrays)); } }Output[[23, 56, 78, 91], [123, 156, 178, 191], [223, 256, 278, 291], [323, 356, 378, 391]]
Abhinanda Shri
3K+ Views
A linked list is a sequence of data structures, which are connected together via links.To create an array of linked lists, create required linked lists and, create an array of objects with them.ExampleLive Demoimport java.util.LinkedList; public class ArrayOfLinkedList { public static void main(String args[]) { ... Read More
Abhinanda Shri
79 Views
To implement basic Animation in JavaScript, use the DOM object properties and JavaScript. The following list contains different DOM methods.We are using the JavaScript function getElementById() to get a DOM object and then assigning it to a global variable imgObj.We have defined an initialization function init() to an initialize imgObj where we ... Read More
Abhinanda Shri
1K+ Views
You need to define the et_flights parameter as of type SFLIGHT. As per method defined, you have this type as structure type and also declare transparent table SFLIGHT at the same time.You should use an already available dictionary table type with row structure of SFLIGHT for et_flight.You should declare et_flights ... Read More
Abhinanda Shri
232 Views
The onsearch event is useful for search i.e. a user press ENTER or “x” key in input element. The type for is search, since it is for users to search. The onsearch event isn’t supported in Internet Explorer, Firefox, and Opera.ExampleYou can try to run the following code to ... Read More
Abhinanda Shri
72 Views
To match any string containing a sequence of at least two p’s with JavaScript RegExp, use the p{2,} Quantifier.Example JavaScript Regular Expression var myStr = "Welcome 1, 10, 100, 1000"; var reg = /\d{2,}/g; var match = myStr.match(reg); document.write(match);
Abhinanda Shri
32 Views
ignoreCase is a read-only boolean property of RegExp objects. It specifies whether a particular regular expression performs case-insensitive matching, i.e., whether it was created with the "i" attribute.ExampleYou can try to run the following code to learn how to work with Ignore Case RegExp property in JavaScript. ... Read More
Abhinanda Shri
1K+ Views
Favicons are generally 16x16, but these days we can multi-resolution favicons also. To create a multi-resolution favicon, first, you need to create the highest-resolution version of the favicon, with an image of 256 × 256 px. Reduce the size of multiple resolutions and export, 16x16, 32x32.Open GIMP and from the ... Read More