Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
Addition and Concatenation in Java
'+' operator in java can be used to add numbers and concatenate strings. Following rules should be considered.Only numbers as operands then result will be a number.Only strings as operands then result will be a concatenated string.If both numbers and strings as operands, then numbers coming before string will be treated as numbers.If both numbers and strings as operands, then numbers coming after string will be treated as a string.Above rule can be overridden using brackets().ExampleCreate a java class named Tester.Tester.javapublic class Tester { public static void main(String args[]) { //Scenario 1: Only ...
Read MoreWrap flex items in Bootstrap
If you want to wrap flex items in Bootstrap, then use the flex-wrap class. To wrap, use − India US UK Australia Denmark You can try to run the following code to avoid wrapping of flex items −Example Bootstrap Example Flex Examples Wrap - Yes India US UK Australia Denmark India Poland Netherlands Ireland Brazil Russia Morocco Wrap - No India US UK Australia Denmark India Poland Netherlands Ireland Brazil Russia Morocco
Read MoreIndicate a dangerous action to a particular table row or cell with Bootstrap
To indicate a dangerous action to a particular table row or cell with Bootstrap, use the .danger class. You can try to run the following code to implement the .danger class −Example Bootstrap Table Subject Marks Type Java 90 Programming Language PHP 92 Scrpting Language jQuery 80 JavaScript Library
Read MoreBootstrap 4 .flex-*-wrap class implementation
Use the flex-*-wrap class like flex-lg-wrap, flex-sm-wrap, flex-md-wrap, etc to wrap flex items on different screen sizes −The following is the code snippet for the flex items wrap on small screen size using the flex-sm-wrap class − Poland Netherlands Ireland Brazil You can try to run the following code to implement the flex-*-wrap class in Bootstrap 4 −Example Bootstrap Example Flex Examples Wrap - Yes ...
Read MoreCreate a button look like a link with Bootstrap
Use the .btn-link class in Bootstrap to create a button look like a link.You can try to run the following code to implement a .btn-link classExample Bootstrap Example The following are FMCG companies: ITC Limited Colgate-Palmolive Nestle Britannia Industries Limited
Read MoreStyle navigation pills inside the Bootstrap 4 card header
To style navigation pills inside the card header in Bootstrap 4, use the card-header-pills class as shown below & minus;Set the navigation pills inside the header class in Bootstrap − Clothing Electronics Mobile Accessories You can try to run the following code to implement the card-header-pills class in Bootstrap 4 −Example Bootstrap Example Products Clothing Electronics Mobile Accessories Clothing We have Men and Women clothing line...
Read MoreStyle Bootstrap 4 card with bg-success class
To set positive action to a card in Bootstrap, use the bg-success class with the card classSet positive action and use “card bg-success” −Now add the body of the card using the card-body class − India won by 7 wickets You can try to run the following code to implement the card-success class −Example Bootstrap Example Result Result of the first two matches between India and Australia: India won by 10 runs India won by 7 wickets
Read MoreBootstrap form structure
To create a form in Bootstrap,Add a role form to the parent element.Wrap labels and controls in a with class .form-group. This is needed for optimum spacing.Add a class of .form-control to all textual , , and elements.You can try to run the following code to create a form −Example Bootstrap Forms Full Name Subject File input Example block-level help text here. Notification about our products Submit
Read MoreAdd a green background color to an element to set positive action with Bootstrap
Use the .btn-success class in Bootstrap to set a positive action to an element. You can try to run the following code to implement the .btn-success class −Example Bootstrap Example The following are FMCG companies: ITC Limited Nestle Britannia Industries Limited Click below if the above list is correct: Success
Read MoreIndicate a successful action to a particular table row or cell with Bootstrap
To indicate a successful action to a particular table row or cell with Bootstrap, use the .success class. You can try to run the following code to implement the .success class −Example Bootstrap Table Subject Marks Type C 65 Programming Language PHP 92 Scripting Language jQuery 80 JavaScript Library
Read More