Você está na página 1de 3

JAVA

Unit I
2 Marks:
1. What is bytecode?
2. Mention the advantages of Java?
3. What is java applet?
4. Write about data abstraction
5. Why do we say that java is a platform-independent language?
6. Give the types of arrays? How arrays are declared?
7. What are tokens?
8. What are the different types of constants defined in Java?
9. Write the rules involved in framing variable names
10.What is an array?
16 Marks
1. Give a brief note on (i) Comparison between Java and C++ (ii) JIT (iii) JVM
2. Explain java buzzwords in detail / Briefly explain the salient features of java
language
3. Explain Object oriented concepts in detail
4. Give a note on (i) lexical issues (ii) data types and variables
5. Explain Arrays and operators in detail.

Unit II
2 Marks:
1.
2.
3.
4.
5.

What are selection and iteration statements?


Differentiate between break and continue
Define class and object
How to declare an object?
Write about jump statements

16 Marks:
1. Explain control statements in brief with syntax
2. Write in detail about class and objects in detail with example. Explain how to
assign object reference variables?
Unit III
2 Marks:
1. Give the general form of method
2. What is the advantage of using the this keyword?
3. What is the difference between a constructor and a method?

4. What is default constructor?


5. What is a copy constructor?
6. What is the main advantage of constructor overloading?
7. What is recursive method?
8. What is method overloading?
9. What is garbage collection in java?
10.Give the general form of finalize() method.
11.What is the advantage of declaring variable as final?

16 Marks:
1.
2.
3.
4.
5.
6.

Write about methods and how to use parameterized method? Give example
Explain constructor and its types in java
Give a brief note on using object as parameter and returning objects
Give a note on access control and command line argument
Explain nested and inner classes in detail
Write about string class in detail

Unit IV
2 Marks:
1. Define base and derived class
2. How can we access a hidden base class variable?
3. Differentiate between overriding and overloading a method.
4. Mention the uses of super.
5. Mention the purpose of final in inheritance
6. How is an interface defined? Give a example
7. What is an exception?
8. List two advantages of user-defined exception handling mechanism
9. Differentiate between throw and throws keywords
10.What is the main use of the finally block
16 Marks:
1.
2.
3.
4.

How to pass arguments to the constructor of a base class?


Explain how to create multilevel inheritance with example
Give a note on abstract class and object class
Explain interface and how it is used to represent multiple inheritance in
detail.
5. What is a package? Explain
6. Explain exception handling mechanism in detail with example
Unit V
2 Marks:

1.
2.
3.
4.
5.
6.
7.
8.
9.

Define thread
Mention the life cycle of thread
What useful purpose does the isAlive() method of the thread class serve?
How to assign priority to a thread?
What is deadlock?
Differentiate between notify() and notifyAll() methods.
Give the purpose of join() method.
Define applet.
Mention what are string functions?

16 Marks:
1.
2.
3.
4.
5.

How to create thread? Explain


Give a note on inter thread communication
Write about synchronization and deadlock in brief
Explain applet fundamentals in detail
What is string? Explain string functions in detail

Você também pode gostar