
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
AmitDiwan has Published 10744 Articles

AmitDiwan
88 Views
For this, use IF() along with IS NULL property. Let us first create a table −mysql> create table DemoTable ( Name varchar(100), CountryName varchar(100) ); Query OK, 0 rows affected (0.70 sec)Insert some records in the table using insert command −mysql> insert into DemoTable values('Chris', 'US'); Query OK, ... Read More

AmitDiwan
190 Views
The java.util.EnumMap class is a specialized Map implementation for use with enum keys. Following are the important points about EnumMap −All of the keys in an enum map must come from a single enum type that is specified, explicitly or implicitly, when the map is created.Enum maps are maintained in the natural ... Read More

AmitDiwan
397 Views
Compare two strings using compareTo() method in Java. The syntax is as follows −int compareTo(Object o)Here, o is the object to be compared.The return value is 0 if the argument is a string lexicographically equal to this string; a value less than 0 if the argument is a string lexicographically ... Read More

AmitDiwan
85 Views
The HTML KeyboardEvent which property returns the Unicode character code of the key that fires the onkeypress event, onkeydown event or onkeyup event in an HTML document.SyntaxFollowing is the syntax −event.whichLet us see an example of HTML KeyboardEvent which property −Example Live Demo body { ... Read More

AmitDiwan
143 Views
The HTML navigator javaEnabled() method returns a boolean value that defines whether the browser has java enable or not.SyntaxFollowing is the syntax −navigator.javaEnabled()Let us see an example of HTML navigator userAgent property −Example Live Demo body { color: #000; height: 100vh; ... Read More

AmitDiwan
218 Views
The HTML navigator userAgent property returns the value of the user-agent header sent by the browser to the server.SyntaxFollowing is the syntax −navigator.userAgentLet us see an example of HTML navigator userAgent property −Example Live Demo body { color: #000; height: 100vh; ... Read More

AmitDiwan
114 Views
The HTML navigator product property returns the browser’s engine name.SyntaxFollowing is the syntax −navigator.productLet us see an example of HTML navigator product property −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; ... Read More

AmitDiwan
128 Views
The HTML navigator platform property returns the browser compiled platform.SyntaxFollowing is the syntax −navigator.platformLet us see an example of HTML navigator platform property −Example Live Demo body { color: #000; height: 100vh; background: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%) no-repeat; ... Read More

AmitDiwan
197 Views
The HTML navigator onLine property returns a boolean value that defines whether the browser is online or offline.SyntaxFollowing is the syntax −navigator.onLineLet us see an example of HTML navigator onLine property −Example Live Demo body { color: #000; height: 100vh; ... Read More

AmitDiwan
134 Views
The HTML navigator geolocation property returns a Geolocation object that can be used to locate the user’s position.SyntaxFollowing is the syntax −navigator.geolocationLet us see an example of HTML navigator geolocation property −Example Live Demo body { color: #000; height: 100vh; ... Read More