Subject:- JAVA,Dept:- Diploma CST,IT
Unit-1
Unit-2:
1. What is the boolean data type?
2. What is type casting and type conversion in java.
3. Describes different string library functions in the java.
4. Write difference between String class and StringBuffer class in java.
5. What is the wrapper class?
6. Write the difference between Autoboxing and auto unboxing with an example.
7. Describes the jump statement in java(break,continue,return,exit).
8. What is an array and how to define an array in java(an example).
CodingCrack-8944081677,SURAJ BASU
Subject:- JAVA,Dept:- Diploma CST,IT
9.
10. Program to find factorials of a number.
11.
Unit 3:
1) What is class?
2) What is an object?
3) Define class and object with an example.
4) What is the method in java?
5) *Define overloading with examples.
6) *Define static, final, this keyword in java with example.
7) Define constructor. And describes the properties of constructors.
8) *Define types of constructor [parameterized constructor, constructor
overloading] with example.
Unit 4:
1) Describes inheritance in java.
2) *Define types of inheritance.
3) *Define Hierarchical and multilevel inheritance with example.
4) *Write difference between method overloading and method overriding.
5) What is a Package?
6) *Describes all API packages.
7) *Write a java code to find the factorial of a number using a user-defined
package.
8) Define interface.
9) *Interface vs class
10)*Implements multiple inheritance using interfaces.
CodingCrack-8944081677,SURAJ BASU
Subject:- JAVA,Dept:- Diploma CST,IT
Unit 5:
1) What is thread?
2) **Describes thread life cycle.
3) *Define a thread by using an example.
4) What is exception handling?
5) *What is a try and catch block?
6) Describes different types of exceptions.
7) *Why is multiple catch blocks needed?
8) *What is finally keyword with an example?
Program:-
Prime check.
String palindrome check
Array sorting.
CodingCrack-8944081677,SURAJ BASU