Easy learning at your Fingertips

Learn coding in different programming languages through our tutorials. We go from simple concepts to more advanced, search below for a topic!

Used by 4k+ companies

Top Categories

See our top categories 

CSS Tutorials

Learn More

Javascript

Learn More

HTML Tutorials

Learn More

Java Tutorials

Learn More

Top tutorials

See our top tutorials 

Latest JS Tutorials

JavaScript deleteCell() Method Tutorial

December 16, 2021

In this section, we will learn that the deleteCell() method is and how to use it in JavaScript....

Read More

JavaScript insertCell() Method Tutorial

December 16, 2021

In this section, we will learn that the insertCell() method is and how to use it in JavaScript....

Read More

JavaScript cells Property Tutorial

December 16, 2021

In this section, we will learn that the cells property is and how to use it in JavaScript....

Read More

Latest CSS Tutorials

CSS

CSS Colors Tutorial

January 22, 2022

In this section, we will learn how to use colors in CSS. Colors in CSS In CSS, there...

Read More
CSS

CSS initial Keyword Tutorial

January 22, 2022

In this section, we will learn what the initial keyword is and how to use it in CSS....

Read More
CSS

CSS Comments Tutorial

January 22, 2022

In this section, we will learn how to create comments in CSS. Comments in CSS Comments are a...

Read More

Latest KoTLIN Tutorials

Kotlin Map and MutableMap Collections Tutorial

November 22, 2021

In this section, we will learn what the Map and MutableMap are and how to use them in...

Read More

Kotlin Set and MutableSet Collections Tutorial

November 22, 2021

In this section, we will learn what the Set and MutableSet are and how to use them in...

Read More

Kotlin List and MutableList Collections Tutorial

November 22, 2021

In this section, we will learn what the List and MutableList are and how to use them in...

Read More

Code Editor

Lorem ipsum dolor sit amet, consectetur adipiscing dolor sit amet, consectetur elit.

				
					public class Main {
    public static void main(String[] args) {
        System.out.println("The name of the current thread is: "+Thread.currentThread().getName());
        System.out.println("Now, changing the name of the thread using the setName() method...");
        Thread.currentThread().setName("Main-Thread");
        System.out.println("The name of the thread after changing its first name: "+ Thread.currentThread().getName());
    }
}
				
			
				
					public class Main {
    public static void main(String[] args) {
        System.out.println("The name of the current thread is: "+Thread.currentThread().getName());
        System.out.println("Now, changing the name of the thread using the setName() method...");
        Thread.currentThread().setName("Main-Thread");
        System.out.println("The name of the thread after changing its first name: "+ Thread.currentThread().getName());
    }
}