Java Sy Dip (Prelium)
Java Sy Dip (Prelium)
A. Write a program to find largest between two numbers using ‘?:’ operator.
B. Define class Student with suitable data members create two objects using two
different constructors of the class.
C. Describe life cycle of thread with suitable diagram.
D. Write a program to copy content of one file into another file.
A. Write a step to declare and define one and two dimensional arrays of a class
with example
B. Explain Life cycle of Thread
C. Write a program to define two threads for displaying even and odd numbers
respectively with a delay of 500 ms after each number.