1. A) Define class. Write the syntax for creating
class. (2M)
B) What are the advantages of object
oriented programming? (2M)
C) How is polymorphism achieved in
java? Write the definition for each mechanism. (2M)
D) What is the usage of
super,final,this keyword. Write the syntax for each keyword. (2M)
E) Write any five difference between
Abstract class and Interface. (2M)
2. (A) Write
about unary operators in java. (2M)
(B) What is the difference between final
and this keyword? (2M)
(C)
What is meant by abstraction? (2M)
(D) What is meant by Interface? Write
the syntax for defining interface. (2M)
(E)
What is meant by Garbage collection? (2M)
- A) What are the features of
java language?(2M)
B) What
is meant by constructor? Write the syntax for creating constructor.(2M)
C) Why
is main method assigned as public as well as static?(2M)
D) Write
any five string handling functions.(2M)
E) What is package? Name some Java packages.(2M)
4. A) Define encapsulation(2M)
B) What are the different types
of access modifiers in java?(2M)
C) What is method overloading and
overriding?(2M)
D) Write the structure of java
program(2M)
E) Differentiate c++ &
Java(2M)
- Explain
the concept of Arrays and Operators in java.?
- A) Explain the JAVA API – packages, classes
with examples?
B) Explain with
two examples for each package.?
- A) Write a java program that prints
Fibonacci sequence using Recursion.
B)
Write a java program to print reverse of
given number.
- What is Inheritance. Explain various
types of inheritance with examples.
- A) Explain in detail about interface. And
implementation of interface.
- Write
a java program to implement hybrid inheritance
- Define an Interface,
Implementation class, rules for working with Interface with an example.
12. A) Explain Abstract classes with examples?
B)
Explain the use of final, super and this?
13.
A) Explain Types of Inheritance
with examples.
B) Write a program to implement factorial
of given numer using RECURSION.
14. A) Define a Package. Explain how to
implement.
B)
Write a program for to find the given number is armstrong number or not.
15. Explain control Statements and
operators in java with example.
16.
A) How the super keyword will access the base class? Explain with
example.
B) Explain method overloading with example.
17.
A) Define an Inheritance. What are types of inheritance? Explain with
example?
B) Write a java program to implement single
Inheritance.
18.
A) Define a Package? Explain how the classes will access from package,
with example?
19. Write short notes on
A) Method overloading
B) Write a program to implement reverse of a given number.
20. (A) explain about Argument passing with suitable example.
(B) Write short notes on super keyword.
21. A)
Explain in detail about Interfaces & implementation of Interfaces..
B) Write a program to implement
single level inheritance.
22. A) Explain about control statements with
example.
B) What is meant by string? Explain any five
string handling functions in java.
.