Notes of V Sem IT JAVA, Java Programming Screenshot_2021_1025_114501.png - Study Material
Page 1 :
Govindrao Wanjari College of, , Engineering and Technology, Department of Information Technology, Session 2021-2022, , , , , , Assignment-Il, , Subject : Java Programming Class :V, SemIT — Subject Teacher : Prof. Rajeshwari Suryawanshi, , 1. what is inheritance 7Explain its type with Example., , 2. what is thread? Explain it's properties. Explain different ways of creating thread, Give suitable example, , 3. Explain in brief inter thread communication, , 4, State the difference between interface & class. Write a program in java language, which clears the significance of interface., , 5. Explain in detail --) Creation of packages in java and importing them in other, programs.ii) Checked and unchecked exception.iii) Throw and throws keyword., , 6. Explain the methods used to suspend a thread and to stop a thread execution, And, also write the difference between suspending a thread and stopping a, thread., , 7. What is stream class in java? Explain input and output streams with illustration., , 8. write a java program to copy the contents of one file to another file using, suitable stream classes., , 9. Write a program to create two thread; one to print add number and another to, print even number between 1 to 100. After printing each number thread should, stop execution for 2000 m sec., , 10. Define an “No Match “Exception that is thrown when when string is not equal to., “India’Write a program that uses this exception.