Articles on Trending Technologies

Technical articles with clear explanations and examples

Tutorix - AI Tutor

Bootstrap .btn-lg class

karthikeya Boyini
karthikeya Boyini
Updated on 11-Mar-2026 313 Views

To make a large button, use the .btn-lg class in Bootstrap.You can try to run the following code to implement the btn-lg classExample           Bootstrap Example                                                Large button          

Read More

Add the default styles for the dropdown menu container in Bootstrap

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 11-Mar-2026 282 Views

Use the .dropdown-menu class in Bootstrap to add the default styles for the dropdown menu containerExample           Bootstrap Example                                          Mobile Phones          The following are the mobile phone brands available in India:                       Companies                                            Apple                Samsung                Oppo                Nokia                                

Read More

Bootstrap .btn-link class

Ankith Reddy
Ankith Reddy
Updated on 11-Mar-2026 395 Views

Deemphasize a button by making it look like a link while maintaining button behavior using the btn-link class in Bootstrap −Example           Bootstrap Example                                       Link Button    

Read More

Callback using Interfaces in Java

Samual Sam
Samual Sam
Updated on 11-Mar-2026 4K+ Views

In the case of Event-driven programming, we pass a reference to a function which will get called when an event occurs. This mechanism is termed as a callback. Java does not support function pointers. So we can not implement the same direction. But using interfaces we can achieve the same very easily.In the example below, we've made a callback when a button is clicked. See the steps −Create an interface ClickEventHandler with a single method handleClick().Create a ClickHandler class which implements this interface ClickEventHandler.Create a Button class which will call ClickHandler when it's click method is called.Test the application.Example//Step 1: ...

Read More

Calling a method using null in Java

karthikeya Boyini
karthikeya Boyini
Updated on 11-Mar-2026 798 Views

When a method is invoked on a null reference, it throws NullPointerException but in case of the static method, we can make it possible using cast expression. See the example below −Examplepublic class Tester {    public static void display(){       System.out.println("display");    }    private void print() {       System.out.println("print");    }    public static void main(String[] args) {       //Scenario 1:       //Calling a method on null reference       //causes NullPointerException       try {          Tester test = null;       ...

Read More

Bootstrap progress class

karthikeya Boyini
karthikeya Boyini
Updated on 11-Mar-2026 247 Views

Use the .progress class in Bootstrap to create a progress bar. The class is a container for progress bars.You can try to run the following code to implement progress class in BootstrapExample           Bootstrap Example                                                       90% Complete                    

Read More

Bootstrap .btn-block class

Chandu yadav
Chandu yadav
Updated on 11-Mar-2026 533 Views

To create a button using the .btn-block class, you can try to run the following code −Example           Bootstrap Example                                       The following are block level buttons:                Block level Primary button                      Block level button          

Read More

Add a fading effect when closing an alert box in Bootstrap

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

Use the .fade class in Bootstrap to add a fading effect when the alert is closed:Example           Bootstrap Example                                          Eclipse Refactoring                       ×             To refactor code in Eclipse, try the below given steps in the video (You can also close this alert)                                                                

Read More

Add plain text next to a form label within a form with Bootstrap

Lakshmi Srinivas
Lakshmi Srinivas
Updated on 11-Mar-2026 615 Views

To add plain text to a form label within a form, use the .form-control-static in Bootstrap.You can try to run the following code to implement a .form-control-static class in BootstrapExample           Bootstrap Example                                                       Email:                            amit@demo.com                                

Read More

Bootstrap .checkbox-inline class

Samual Sam
Samual Sam
Updated on 11-Mar-2026 816 Views

Use .checkbox-inline class to a series of checkboxes for controls to appear on the same line. You can try to run the following code to implement the .checkbox-inline classExample           Bootstrap Forms                                       Best IDE (You can select more than one)                             NetBeans IDE                                 Eclipse IDE                    

Read More
Showing 30141–30150 of 61,297 articles
Advertisements