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
Kotlin Tutorials
Learn More
CSS Tutorials
Learn More
Javascript
Learn More
HTML Tutorials
Learn More
Python Tutorials
Learn More
Java Tutorials
Learn More
Top tutorials
See our top tutorials
Interrupting a thread in Java Tutorial
In this section, we will learn what it means to interrupt a thread in Java
CSS Colors Tutorial
In this section, we will learn how to use colors in CSS. Colors in CSS
CSS initial Keyword Tutorial
In this section, we will learn what the initial keyword is and how to use
CSS Comments Tutorial
In this section, we will learn how to create comments in CSS. Comments in CSS
CSS Specificity Tutorial
In this section, we will learn about the specificity in CSS Specificity in CSS If
CSS !important Property Tutorial
In this section, we will learn about the !important property in CSS. Note: we’re assuming
CSS Inheritance Tutorial
In this section, we will learn about the concept of inheritance and cascading in CSS.
CSS :not Selector Tutorial
In this section, we will learn what the :not() selector is and how to use
Latest JS Tutorials
JavaScript deleteCell() Method Tutorial
In this section, we will learn that the deleteCell() method is and how to use it in JavaScript....
Read MoreJavaScript insertCell() Method Tutorial
In this section, we will learn that the insertCell() method is and how to use it in JavaScript....
Read MoreJavaScript cells Property Tutorial
In this section, we will learn that the cells property is and how to use it in JavaScript....
Read MoreLatest CSS Tutorials
CSS Colors Tutorial
In this section, we will learn how to use colors in CSS. Colors in CSS In CSS, there...
Read MoreCSS initial Keyword Tutorial
In this section, we will learn what the initial keyword is and how to use it in CSS....
Read MoreCSS Comments Tutorial
In this section, we will learn how to create comments in CSS. Comments in CSS Comments are a...
Read MoreLatest KoTLIN Tutorials
Kotlin Map and MutableMap Collections Tutorial
In this section, we will learn what the Map and MutableMap are and how to use them in...
Read MoreKotlin Set and MutableSet Collections Tutorial
In this section, we will learn what the Set and MutableSet are and how to use them in...
Read MoreKotlin List and MutableList Collections Tutorial
In this section, we will learn what the List and MutableList are and how to use them in...
Read MoreCode 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());
}
}