class ThDemo extends Thread { public void run() { System.out.println("Thread is: "+Thread.currentThread().isAlive()); } } public class MAin { public static void main(String args[]) { ThDemo d1=new ThDemo(); d1.start(); } }
Thread is: true
Java Interview Questions
Python Interview Questions
Oracle Interview Questions
100 Most Asked Java Interview Questions and Answers
HR Interview Questions and Answers
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Java Practice Programs
400 Java Programs
Write a Program to Find largest and smallest number in an array in java
Write a Java program to swap the first and last elements of an array and create a new array
Write a Java program to convert a string to an integer
Write a Java Program to Check if a Number is Positive, Negative or Zero.
Write a Java Program to find largest and second largest in an array
Write a python program to Find Index Using Enumerate
Write a Python Program to Convert Decimal to Binary, Octal and Hexadecimal.
Write a Python program to calculate the sum of three given numbers. If the values are equal, return three times their sum.
Write a python program to display list of numbers and we want to return all the numbers from the list that are divisible by 2 and remove duplicates at the same time.
Write a python program to check two strings are Anagram or not
Java Quiz - 13
Java Quiz - 2
Java Quiz - 1
Java Quiz - 8
Java Quiz - 17