
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Samual Sam has Published 2310 Articles

Samual Sam
87 Views
The cbrt() function of the Math object accepts a number and returns its cube root.SyntaxIts Syntax is as followsMath.cbrt(729)Example JavaScript Example var result = Math.cbrt(729)); document.write(""); document.write("Cube root of the given number: "+result); OutputCube root of the given number: 9

Samual Sam
98 Views
The clz32() function of the Math object returns the number of zero bits in the starting of the 32-bit binary representation of a number.SyntaxIts Syntax is as followsMath.clz32(31)Example Live Demo JavaScript Example var result = Math.clz32(31); document.write("Result: "+result); OutputResult: 27

Samual Sam
78 Views
This function of the Math object returns the value of ex – 1, where x and e are the base and exponents of natural algorithms.SyntaxIts Syntax is as followsMath.expm1(6);Example Live Demo JavaScript Example var result = Math.expm1(6); document.write("Result: "+result); OutputResult: 402.4287934927351

Samual Sam
251 Views
To implement Fade In Up Big Animation Effect on an image with CSS, you can try to run the following code:ExampleLive Demo .animated { background-image: url(/css/images/logo.png); background-repeat: ... Read More

Samual Sam
2K+ Views
Import the following package for Calendar class in Java.import java.util.Calendar;Firstly, create a Calendar object and display the current date and time.Calendar calendar = Calendar.getInstance(); System.out.println("Current Date and Time = " + calendar.getTime());Now, let us decrement the minutes using the calendar.add() method and Calendar.MINUTE constant. Set a negative value since you ... Read More

Samual Sam
132 Views
The clear() function of Map object removes all elements from the current Map object.SyntaxIts Syntax is as followsmapVar.clear()Example Live Demo JavaScript Example var mapVar = new Map(); mapVar.set('1', 'Java'); mapVar.set('2', 'JavaFX'); mapVar.set('3', 'HBase'); ... Read More

Samual Sam
111 Views
The entries() function of Map object returns an iterator of the corresponding Map object and using this you can retrieve the key Value pairs of the map.SyntaxIts Syntax is as followsmapVar.entries()Example Live Demo JavaScript Example var mapVar = new Map(); ... Read More

Samual Sam
78 Views
The get() function of Map object accepts a key in string format and returns its respective value.SyntaxIts Syntax is as followsmapVar.get()Example Live Demo JavaScript Example var mapVar = new Map(); mapVar.set('1', 'Java'); mapVar.set('2', 'JavaFX'); ... Read More

Samual Sam
52 Views
The keys() function of Map object is similar to entries but, it returns an iterator object containing the keys of a map object.SyntaxIts Syntax is as followsMap.keys()Example Live Demo JavaScript Example var mapVar = new Map(); mapVar.set('1', 'Java'); ... Read More

Samual Sam
196 Views
The JSON.parse() function accepts a JSON string, and constructs an object based on the given text and, returns it.SyntaxIts Syntax is as followsJson.parse();Example Live Demo JavaScript Example var jsonSample = '{"Tutorial": "Java", "Version":8 }'; jsonObj = JSON.parse(jsonSample); ... Read More