Professional Documents
Culture Documents
Tutorial Sheet 1
Q1. What is Object Oriented Programming? How it is different from procedural oriented
programming?
Q2. Explain important features of Java? What are different tools of JDK?
Q3. How Java differs from C and C++?
Q4. Why java is treated as platform independent language?
Q5. What is Byte code, Java Virtual Machine and Java Runtime Environment?
Q6. What is Java API? Explain different built in packages available in java?
Q7. Which are different data types available in java?
Q8. Describe the structure of a simple java Program? What is the task of main method in
java program?
Q9. How java is more secure and Robust than other languages?
Q10. Describe various system requirements for internet programming?
Tutorial Sheet 2
Q1 What is an Array? Why they are easier to use as compared to a bunch of related
variables?
Q2 What is purpose of interface? Give the similarities between class and
interface?
Q3 Give the difference between abstract class and an interface?
Q4 What is Package ? How we can create and import a package?
Q5 Discuss various levels of access protection available for packages and their
implications?
Q6 Discuss frequently used packages available with java API ?
Q7 Which package in java is treated as default package?
Q8 Explain CLASSPATH? How to set CLASSPATH?
Q9 What is the difference between public ,private and protected modifiers?
Q10 How not-defined and public member of a class are different from each other?
Tutorial Sheet 4
Q1: Discuss all the constructors of String and String Buffer class?
Q2 Explain the StringTokenizer class? Give example to separate token form a String?
Q3 What is wrapper classes? What is the use of it?
Q4 Discuss the various objects in java.util package
Q5 Discuss various objects in java.io package?
Q6 Explain various methods of String and StringBuffer class?
Q7 What is a file? How data is stored and retrieved from a file?
Q8 What is a Stream? How is the concept of stream is used in input/output operations in
java?
Q9 Distinguish between
(a) InputStream and Reader class
(b) Outputstream and Writer class
Q10 What is the difference between
(a) Vector and ArrayList
(b) Hashtable and HashMap
Tutorial Sheet 7
Q6 What is Layout Manager? Discuss various layouts available in java.awt and what is
the default Layout manager for the panel and the panel subclasses?
Q7 How to change the current layout of a container?
Tutorial Sheet 9