Month: January 2021

JS Array Methods

Pop- This method is used to remove the last element of the array. Syntax Array.pop() let Courses = ["Php", "java", "c"]; alert( Courses.pop() ); alert( Courses); Push- This method is used to insert an element to the end of...
READ MORE   >>

Array in JavaScript

An array is a collection of elements that use the common name to store all the elements. Array always start from Memory Location Zero. It is lengthy process to store huge elements in a separate variable; Arrays solve this problem by storing all the...
READ MORE   >>

String Methods in Java

Extracting a Substring from a String slice() method is used to extract a part or substring from a string. This method takes 2 parameters: like str.slice(startIndex, endIndex). Example var str = "The Best IT Company in Ludhiana is...
READ MORE   >>

String in Java

A string is a collection of characters that enclosed either within single quotes (') or double quotes ("). Example var name = ‘Shairy'; // Single quoted string var name = "Shairy!"; // Double quoted string Different properties and...
READ MORE   >>

Recent Comments

    • Copyright © 2020 (Er. Shairy Kalra). All Rights Reserved