Java 7-15marks Questions
Java 7-15marks Questions
1. 2. !. $. +. %. ,. 0. 2. 13. 11. 12. 1!. 1$. 1+. 1%. 1,. 10. 12. 23. 21. 22. 2!. 2$. 2+. Explain Arithmetic Exception, IO Exception with a programming example. Write a program in Java to read n strings and display only those strings starting with the character A . Write note on "oc#et class. Explain the % "tring &andling '(ilt)in *(nctions. Explain the operators in Java. Explain the control str(ct(res in Java. -ist o(t the .eat(res o. /ava. Write a program in /ava to pic# the 1iggest n(m1er in array o. integers. Write a program in Java to .ind the .actorial o. a given n(m1er. Explain constr(ctor with an example. Explain try)catch .inally with an example. Write a program in Java to create a text .ile. Explain 1(tton control. -ist o(t the .eat(res o. /ava. What the 1ene.its are o. o1/ect oriented programming4 Explain the (se o. "(per #eyword with an example. Explain the (se o. throw with an example. Write a program to read n integers and print the odd n(m1ers in them. Explain the importing (ser de.ined and prede.ined 5ac#ages with an example. Explain the "tring '(..er and how to implement these methods. Write the short notes on 6onsole Inp(t and O(tp(t with an example. Explain 1. 6alendar 2. 7andom !. -ocale -ist o(t the 6haracter "treams methods. Explain the (se o. "eriali8ation and with inter.aces. Write the any + Event &andling methods with syntax.