One of the features in Google hangouts ensures that no record of your chat history is stored. To enable this, you simply have to go to −Hangouts> Open any conversation> Go to Setting> check for the option 'Conversation History'> Uncheck the box placed in front of this option>Checked: History is turned on.Unchecked: History is turned off.Now the answer to your another question on retrieving the messages is that 'You, as a user' cannot retrieve; however, your employer, in case you use a shared network, can not only see but retrieve even from 'off' mode. Although, I know that Gmail claims ... Read More
L.C.M. or Least Common Multiple of two values, is the smallest positive value which the multiple of both values.For example multiples of 3 and 4 are:3 → 3, 6, 9, 12, 15 ...4 → 4, 8, 12, 16, 20 ...The smallest multiple of both is 12, hence the LCM of 3 and 4 is 12.ProgramFollowing example computes the LCM of array of numbers.Live Demopublic class LCMofArrayOfNumbers { public static void main(String args[]) { int[] myArray = {25, 50, 125, 625}; int min, max, x, lcm = 0; for(int i = 0; i
The Narcotic Drugs and Psychotropic Substances Act, 1985 is generally referred to as the NDPS Act, which prohibits any individual who is engaged in any activity consisting of producing, cultivating, selling, purchasing, transporting, storing, and/or consuming any narcotic drug or psychotropic substance.When Was It Introduced?The Narcotic Drugs and Psychotropic Substances bill was presented in the Lok Sabha on 23 August 1985 and later, passed by both Lok Sabha and Rajya Sabha. Later on, the then President Giani Zail Singh received this on 16 September 1985 and came into force on 14 Nov 1985.
Following is an example which computes find LCM and GCD of two given numbers.Programimport java.util.Scanner; public class LCM_GCD { public static void lcm(int a, int b){ int max, step, lcm = 0; if(a > b){ max = step = a; } else{ max = step = b; } while(a!= 0) { if(max%a == 0 && max%b == 0) { lcm = max; break; } max += step; } System.out.println("LCM of given numbers is :: "+lcm); } public static void gcd(int a,int b){ int i, hcf = 0; for(i = 1; i
To implement animation on the color property with CSS, you can try to run the following codeExampleLive Demo div { width: 200px; height: 300px; background: white; border: 10px solid red; animation: myanim 3s infinite; bottom: 30px; position: absolute; } @keyframes myanim { 20% { bottom: 100px; box-shadow: 30px 45px 70px orange; color: blue; } } Performing Animation on color property This is our demo div!
To implement animation on the border-top-right-radius property with CSS, you can try to run the following codeExampleLive Demo table,th,td { border: 2px solid black; } #newTable { width: 500px; height: 300px; background: yellow; border: 15px solid yellow; animation: myanim 3s infinite; background-position: bottom left; background-size: 50px; } @keyframes myanim { 30% { background-color: orange; border-spacing: 50px; border-top-color: red; border-top-right-radius: 150px; } } Performing Animation for border top right radius Subject Student Marks PHP Tom 90 Java Henry 70
The Date object is a datatype built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The toISOString() function of the date object returns the simplified extended ISO format of the date.SyntaxIts Syntax is as followsdateObj.toISOString();Example Live Demo JavaScript Example ... Read More
The Date object is a data type built into the JavaScript language. Date objects are created with the new Date( ) as shown below.Once a Date object is created, a number of methods allow you to operate on it. Most methods simply allow you to get and set the year, month, day, hour, minute, second, and millisecond fields of the object, using either local time or UTC (universal, or GMT) time.The toJSON() function of the date object returns the simplified extended ISO format of the date.SyntaxIts Syntax is as followsdateObj.toJSON();Example Live Demo JavaScript Example ... Read More
This question always muddles the minds of those who want to start a website and get traffic to it as quickly as possible. However, it’s very crucial to know the answer to the question at the early stage, especially during the development because your developer can make your website search engine friendly. However, optimizing a website is a completely different task altogether.Search Engine Friendly Vs Search Engine OptimizedTurning a website search engine friendly is somewhat a one-time process. This process might involve a number of things but once it’s done there is not much required to do unless there is ... Read More
Use the repeating-radial-gradient() function to repeat radial gradient.You can try to run the following code to implement repeating-radial-gradient() function in CSSExampleLive Demo #demo { height: 300px; background: repeating-radial-gradient(green 20%, orange 40%, maroon 40%); } Repeating radial gradient
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP