0% found this document useful (0 votes)
317 views

Java 7-15marks Questions

The document contains questions related to Java programming concepts and features. It asks to explain exceptions, string handling functions, control structures, object-oriented features, arrays, files, threads, packages, layout managers, serialization and more. It also asks to write programs involving arrays, files, calculators, sorting, matrices and sockets.

Uploaded by

Sai Krish
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
317 views

Java 7-15marks Questions

The document contains questions related to Java programming concepts and features. It asks to explain exceptions, string handling functions, control structures, object-oriented features, arrays, files, threads, packages, layout managers, serialization and more. It also asks to write programs involving arrays, files, calculators, sorting, matrices and sockets.

Uploaded by

Sai Krish
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Java 7 Marks 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.

Java 15 Marks Questions


2%. Explain method overloading and nesting o. methods with examples. 2,. Write a program in Java to eval(ate the series " 9 1: 1; ) 2 : 2; < ! : !; ) = >n terms?. 20. Write a detailed acco(nt on layo(t managers. 22. Explain the methods in @hread class with a programming example. !3. Write a program in Java to store n(m1er, name and mar# .or n di..erent st(dents. 7ead the same .ile and display the details o. st(dents whose mar# A +3. !1. Explain O1/ect)Oriented concepts in Java. !2. Explain li.e cycle o. a thread and the methods in @hread class . !!. !$. !+. !%. !,. !0. !2. $3. $1. $2. $!. $$. $+. $%. $,. Write a program in Java to sort an array o. strings in ascending order. Write a program to sim(late a .o(r .(nction calc(lator (sing awt controls. Write notes onB >a? "oc#et programming>1? Java (tilities. Write a program in Java to print the row s(m o. each row in a matrix. Explain overloaded constr(ctors with an example. Explain the process o. creating and (sing (ser de.ined pac#ages with an example. Write a program to sort an array o. strings in Alpha1etical order. Write a program to sim(late the .(nctioning o. a .o(r .(nction calc(lator. Cse AW@ controls. Write short notes on 1. -exical iss(es 2.inter.ace. Explain the Cser De.ining 5ac#ages and with s(1 pac#ages with examples. Explain the Java Applet 1asics and how to implement AW@ components with Applet. Explain the E(ltithreaded programming with examples. Explain the Exploring /ava.lang and with Eath *(nctions Write short notes on the Java I:O classes and Inter.aces. Expalin 1. InetAddress 2. @65:I5 client "oc#ets.

You might also like