Professional Documents
Culture Documents
Questions:
Q1. Write a program to create two Threads. 1st Thread calculating the factorial of
the number entered by the user and that Factorial value to be used in 2 nd Thread
for printing the digits of that no. one by one after a period of 1 sec.
Q2. What is a Lambda Expression? Write a program to enter a string from the user
at runtime and print whether number of Consonants or number of vowels are
more in the String entered. Implement the program using Lambda expression.
Q3. Create a GUI application to enter hobbies of a person using checkboxes and
movie names using radiobutton. Write a program print all the hobbies selected by
the user and the favorite movie.