Articles on Trending Technologies

Technical articles with clear explanations and examples

Addition and Concatenation in Java

karthikeya Boyini
karthikeya Boyini
Updated on 11-Mar-2026 2K+ Views

'+' 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 More

Wrap flex items in Bootstrap

Alex Onsman
Alex Onsman
Updated on 11-Mar-2026 328 Views

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 More

Indicate a dangerous action to a particular table row or cell with Bootstrap

George John
George John
Updated on 11-Mar-2026 235 Views

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 More

Bootstrap 4 .flex-*-wrap class implementation

Alex Onsman
Alex Onsman
Updated on 11-Mar-2026 255 Views

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 More

Create a button look like a link with Bootstrap

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 11-Mar-2026 5K+ Views

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 More

Style navigation pills inside the Bootstrap 4 card header

Alex Onsman
Alex Onsman
Updated on 11-Mar-2026 313 Views

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 More

Style Bootstrap 4 card with bg-success class

Alex Onsman
Alex Onsman
Updated on 11-Mar-2026 416 Views

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 More

Bootstrap form structure

George John
George John
Updated on 11-Mar-2026 568 Views

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 More

Add a green background color to an element to set positive action with Bootstrap

Vrundesha Joshi
Vrundesha Joshi
Updated on 11-Mar-2026 239 Views

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 More

Indicate a successful action to a particular table row or cell with Bootstrap

Rishi Rathor
Rishi Rathor
Updated on 11-Mar-2026 211 Views

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
Showing 30071–30080 of 61,297 articles
Advertisements