- 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
Ayyan has Published 53 Articles
Ayyan
1K+ Views
You can take reference from GUI Scripting help section and it can explain things in detail.It provides you default property types as per requirement. If you want to perform next step, stop or abort user step, you can use the following properties.ValueDescriptionSSuccessWWarningEErrorA Abort I InformationSee the below code that uses above property ... Read More
Ayyan
132 Views
Async generator functions are the same like generator function. The async generator functions will return an object, whereas an async generator whose methods such as next, throw and return promises for { value, done }, instead returning directly.ExampleHere’s an example from GitHub showing function returning async generator object −async function* ... Read More
Ayyan
42 Views
The ondragend event triggers when an element is dragged completely.ExampleYou can try to run the following code to learn how to implement ondragend event in JavaScript. .drag { float: left; ... Read More
Ayyan
273 Views
The scrollY property in JavaScript works the same as pageYoffset property. If you want to get the pixels the document scrolled to from the upper left corner of the window, then use the scrollY property for vertical pixels.ExampleYou can try to run the following code to learn how to work ... Read More
Ayyan
60 Views
Yes, it is a good practice to place all the JavaScript declarations at the top. Let’s see an example −Example JavaScript String match() Method // all the variables declared at top ... Read More
Ayyan
767 Views
To run the hello world program, you'll have to follow the following steps −Write a C++ programNow that you have a compiler installed, its time to write a C++ program. Let's start with the epitome of programming example's, it, the Hello world program. We'll print hello world to the screen ... Read More
Ayyan
15K+ Views
StringBuffer provides a method with name reverse() one way to check for a palindrome isCreate a StringBuffer object by passing the required string as a parameter to the constructor.Reverse the contents of the object using the reverse() method.Convert the StringBuffer object to Sting using the toString() method.Now, compare the String and the ... Read More
Ayyan
218 Views
You can check the equality of two Strings in Java using the equals() method. This method compares this string to the specified object. The result is true if and only if the argument is not null and is a String object that represents the same sequence of characters as this ... Read More
Ayyan
282 Views
You can concatenate strings using the ‘+’ operator of Java.ExampleLive Demopublic class Test { public static void main(String args[]){ String st1 = "Hello"; String st2 = "How"; String st3 = "You"; String res = st1+st2+st3; System.out.println(res); } }OutputHelloHowYou
Ayyan
794 Views
If you try to concatenate strings using concat() method, you can concat variables of string data type only.To concatenate strings with other data type you need to use the ‘+’ operator.Examplepublic class Test { public static void main(String args[]){ String st1 = "Hello"; ... Read More