Write a java program to check whether given candidate is eligible for voting or not. Handle user defined as well as system definedException.
Write Java program which accepts string from user, if its length is less than five, then throw user defined exception “Invalid String” otherwise display string in uppercase.
Write a java program to accept Employee name from the user and check whether it is valid or not. If it is not valid then throw user defined Exception “Name is Invalid” otherwise display it.
Write a java program to create the following threads.
To print from 100 to 1.
To print alphabet a to z
To print vowels.
Write a java program to create the following threads.
To print from 100 to 1.
To print alphabet z to a
To even number from 1 to 100.
Write a JAVA program which will create two child threads by implementing Runnable interface; one thread will print even no’s from 1 to 50 and other display vowels
Write a java program using multithreading to execute the threads sequentially using synchronized method
write a java program for the implementation of synchronization .
Write a java program to accept’ ‘n’ integers from the user & store them in an ArrayList Collection. Display the elements of ArrayList collection in reverse order
Write a java program to read n Empoyee names from user, store them into the Array List collection. The program should not allow duplicate names. Display the names in Ascending order.
Write a java program to accept n employee names from user, store them into the LinkedList class and display them by using Iterator Interface.
Write a java program to accept n employee names from user, store them into the LinkedList class and display them by using ListIterator Interface.
Write a java program to display ASCII values of the characters from a file.
Write a ‘java’ program to copy only non-numeric data from one file to another file.
Write a Java program to display contents of file in reverse order
Write a java program to copy the details from one file into another file.
Write a Java program to count number of digits, spaces and characters from a file.
Write a java program to count number of Lines, words and characters from a given file