- 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
Giri Raju has Published 101 Articles
Giri Raju
129 Views
The basic mathematical operators in JavaScript include the following −Arithmetic OperatorsComparison OperatorsLogical (or Relational) OperatorsAssignment OperatorsLet’s see how Arithmetic operators work and what does it include −Sr.NoOperator and Description1+ (Addition)Adds two operandsEx: A + B will give 302- (Subtraction)Subtracts the second operand from the firstEx: A - B will give ... Read More
Giri Raju
129 Views
You can use the del function to delete a specific key or loop through all keys and delete them. For example, my_dict = {'name': 'foo', 'age': 28} keys = list(my_dict.keys()) for key in keys: del my_dict[key] print(my_dict)This will give the output:{}You can also use the pop function to delete ... Read More
Giri Raju
245 Views
This operator is used only for object reference variables. The operator checks whether the object is of a particular type (class type or interface type). instanceof operator is written as −( Object reference variable ) instanceof (class/interface type)If the object referred by the variable on the left side of the ... Read More
Giri Raju
543 Views
IS-A RelationshipIS-A is a way of saying − This object is a type of that object. Let us see how the extends keyword is used to achieve inheritance. public class Animal { } public class Mammal extends Animal { } public class Reptile extends Animal { } public class Dog extends ... Read More
Giri Raju
819 Views
Firstly convert your number to hexadecimal with leading zeros and then format it by adding dashes.ExampleYou can try to run the following code to format hexadecimal number −Live Demo var num = 32122; var myHex ... Read More
Giri Raju
941 Views
To get current year in JavaScript, use the getFullYear() method.ExampleYou can try to run the following code to print current year −Live Demo Click below to get the current year: Display Year function display() { var date = new Date(); var res = date.getFullYear(); document.getElementById("test").innerHTML = res; }
Giri Raju
424 Views
When a user visits your website, they do things like click on text and images and given links, hover over things etc. These are examples of what JavaScript calls events.We can write our event handlers in JavaScript or VBScript and you can specify these event handlers as a value of ... Read More
Giri Raju
127 Views
As per my understanding, SBObob takes fewer parameters but provide the more accurate result for item price taking into accounts for BP and quantity of items, etc. CompanyService GetItemPrice accepts more parameters however information is scarce in the SDK help file for this method. Also, note that there is no ... Read More
Giri Raju
459 Views
Yes, there are user specific text settings which can let you stroke in Uppercase or lowercase whatever is you choice. Go to ABAP Editor initial screen using T-Code: SE38You need to go settings under utilities tab. With utilities select ABAP editor tab. Once you have selected ABAP editor tab, select ... Read More