Professional Documents
Culture Documents
Javaprogram PDF
Javaprogram PDF
Unit-1
1. Explain about method overloading and constructor overloading with example program
2. Explain basic operators and conditional logical statements in java
3. Discuss briefly about different access modifiers in java
4. Explain features of java and discuss how java is differ from C and C++
Unit-2
3. Explain about different types of inner classes and discuss creating static and non-static inner
classes
4. A) explain about interfaces b) explain about super classes and sub classes in java
Unit-3
1. Explain try catch throw throws finally clauses in exception handling with suitable example
2. Explain thread and its life cycle in detail
3. Explain the use of synchronized keyword and discuss how to avoid deadlock
4. What is exception and write your own exception classes
Unit-4
Unit-5