CACS204 Object Oriented Programming in Java

Object Oriented Programming in JavaTU Board 2023

a) What is difference between checked and unchecked exception? Write a java program that will read college name from keyboard and display it on screen. The program should throw an exception when…

10

a) What is difference between checked and unchecked exception? Write a java program that will read college name from keyboard and display it on screen. The program should throw an exception when length of college name is more than 50. b) What are methods used for inter-thread communication? Write a java program to create two threads so that one thread prints even number and other thread prints odd number between 100 and 200.

A worked answer is on its wayMeanwhile, read the Object Oriented Programming in Java notes for this topic.

Discussion

Loading…

More Object Oriented Programming in Java questions

All Object Oriented Programming in Java old questions