Anvi Jain has Published 640 Articles

Hidden Bootstrap class

Anvi Jain

Anvi Jain

Updated on 21-Nov-2023 21:14:35

989 Views

To hide a Bootstrap class, use the .hidden class.Example You can try to run the following code to hide a class −           Bootstrap Example                                                       This class is visible.                                 This is an example for hide class. This will be hidden.                    

System.getProperty() in Java

Anvi Jain

Anvi Jain

Updated on 31-Oct-2023 03:19:57

21K+ Views

The getProperty(String key) method in Java is used to returns the system property denoted by the specified key passed as its argument.It is a method of the java.lang.System Class.Declaration − The java.lang.System.getProperty(String key) is declared as follows −public static String getProperty(String key)where key is the name of the System property.Some ... Read More

8085 program to multiply two 8 bit numbers

Anvi Jain

Anvi Jain

Updated on 26-Oct-2023 03:34:36

22K+ Views

In this program we will see how to multiply two 8-bit numbers using 8085 microprocessor.Problem StatementWrite 8085 Assembly language program to multiply two 8-bit numbers stored in memory location and store the 16-bit results into the memory.DiscussionThe 8085 has no multiplication operation. To get the result of multiplication, we should ... Read More

Compiling a C++ program with GCC

Anvi Jain

Anvi Jain

Updated on 14-Sep-2023 21:23:46

25K+ Views

Here we will see how to compile C++ program using GCC (GNU C Compiler). Let us consider, we want to compile this program.Example#include using namespace std; main() {    cout

Generate a random array of integers in Java

Anvi Jain

Anvi Jain

Updated on 12-Sep-2023 03:29:56

31K+ Views

In order to generate random array of integers in Java, we use the nextInt() method of the java.util.Random class. This returns the next random integer value from this random number generator sequence.Declaration − The java.util.Random.nextInt() method is declared as follows −public int nextInt()Let us see a program to generate a ... Read More

How to search in array of object in MongoDB?

Anvi Jain

Anvi Jain

Updated on 10-Sep-2023 07:55:51

28K+ Views

To search the array of object in MongoDB, you can use $elemMatch operator. This operator allows us to search for more than one component from an array object.To understand the above concept, let us create a collection with the document. The query to create a collection with a document is ... Read More

How to Write/create a JSON file using Java?

Anvi Jain

Anvi Jain

Updated on 06-Sep-2023 13:25:18

41K+ Views

JSON or JavaScript Object Notation is a lightweight text-based open standard designed for human-readable data interchange. Conventions used by JSON are known to programmers, which include C, C++, Java, Python, Perl, etc. Sample JSON document −{    "book": [       {          "id": "01",   ... Read More

How to get the datatype of MySQL table columns?

Anvi Jain

Anvi Jain

Updated on 02-Sep-2023 12:13:53

45K+ Views

You can get the MySQL table columns data type with the help of "information_schema.columns".The syntax is as follows −SELECT DATA_TYPE from INFORMATION_SCHEMA.COLUMNS where table_schema = 'yourDatabaseName' and table_name = 'yourTableName'To understand the above syntax, let us first create a table −mysql> create table DataTypeDemo −> (    −> Id int, ... Read More

How to remove certain characters from a string in C++?

Anvi Jain

Anvi Jain

Updated on 02-Sep-2023 10:50:28

70K+ Views

In this section, we will see how to remove some characters from a string in C++. In C++ we can do this task very easily using erase() and remove() function. The remove function takes the starting and ending address of the string, and a character that will be removed.Input: A ... Read More

List of Keywords in Python Programming

Anvi Jain

Anvi Jain

Updated on 11-Aug-2022 11:37:47

915 Views

Keywords in Python are reserved words. You cannot use them as variable name, function name, class name, etc. Following are the Keywords in Python − Keywords in Python FALSE await else import pass None break except in ... Read More

1 2 3 4 5 ... 64 Next
Advertisements