java-imp-quesstions-converted_1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Java programming important questions

Computer Science-Paper V

Unit -1
1.What are the features of java ?

2.What is the structure of java program ? explain about execution of java program ?
3.Define data type ? What are the data types in java?
4.Define variable? How to declare variables in Java ?
5.Define statement ? what are te different types of statements in C ?

6)Iterative statements or looping statements

7)Define operators? What are the types of operators in java?


8.Define class and object in java ? how to declare and access class members ?

9)Define constructor and what are the types of constructors in java ?

10)Define method overloading ? whar are the advantages of it? Explain with
example?

(or) what is static polymorphism ? explain it?

11)Define constructor overloading ? whar are the advantages of it? Explain with
example?

Unit-2

1) Define arrays ? how to declare arrays in java ?


2) Define inheritance ? what are the types of inheritance?

3) explain about the following keyword and methods


a) this keyword b) super keyword c) abstract class d) final keyword
e) static keyword
4) define method overridden and explain with example?
5) Define interface ? explain with example ?
6) Explain about abstract classes in java?

7) Define packages ? how to import packages ? what are the categories of


packages?
8) Define string ?how to declare it? What are String methods in java
9) Define exception ? what are the types of exceptions ?

Unit-3

1.Define multithreading in java? What is the life cycle of multithreading ? what are
the stages in multithreading?
2) What is the life cycle of multithreading ?
3)what are the thread priorites ?
4Q)explain about file streams in java ?
Unit-4
1. What is an Applet? What are the methods that control an applet life cycle?
2. Explain about Event handling in java ?
3. 3)Define AWT? What are the components in AWT?
4. Explain about database hanling using JDBC in java?

You might also like