0% found this document useful (0 votes)
9 views2 pages

Java Programming Questions and Concepts

Uploaded by

kodurusailalitya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Java Programming Questions and Concepts

Uploaded by

kodurusailalitya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

2 mark questions

1. What is structured programming ?


2. What is break statement in Java ?
3. Define class in Java ?
4. What is a constructor ?
5. What is an expression in Java ?
6. What is OOP ?
7. What is continues statement in Java?
8. Define packages in Java ?
9. What is a final class ?
10. Define data encapsulation ?
11. What is type casting in Java ?
12. What are expressions in Java ?
13. What are instance variables in Java ?
14. Define constructor in Java ?
15. What is public access specified ?

10 mark questions

1. What is program structure in Java ?

2. Explain operators in Java with example ?

3. Explain the access modifiers in Java with example ?

4. Briefly explain about how to access private numbers of a class with an example ?

5. Explain nested if expressions with an example ?

6. Implement method overloading in Java ?

7. What are data types in Java ? Explain with an example ?

8. Explain about operators in Java with an example ?

9. Explain classes and object with an example ?

10. Briefly explain about defining methods with an example program ?

11. Explain the basic arithmetic operators with an example ?

12. Explain about nested classes in Java ?


13. Write sample Java program to calculate simple interest ?

14. Explain about control statements in Java ?

15. Explain about access modifiers with an example ?

16. Briefly explain constructors in Java with an example ?

17. Explain about operators in Java in detail ?

18. Implement overriding methods in detail ?

You might also like