0% found this document useful (0 votes)
7 views1 page

Java Object-Oriented Programming Guide

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

Java Object-Oriented Programming Guide

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

BCS306A - Object Oriented Programming with JAVA

Module 1:
1. Differentiate break and continue statements.
2. Explain the 8 primitives’ data types in Java.
3. State the key elements of Object Oriented Programming and briefly explain it.
4. Describe the meaning of each of the keyword in “public static void main”.
5. Discuss in detail about the different control flow statements in Java with example.
6. List the various operators supported by java. Illustrate the working of Relational and
conditional operators with an example.
7. Explain switch statement with a program.
8. Explain type conversion with example.
9. Explain the concept of Array with a program.
10. Summarize the general java program compilation and execution

Module 2:
11. Define a method and a constructor in Java.
12. Explain returning object with example.
13. What are constructors? Give the types and explain the properties of constructors. Support
with appropriate examples.
14. State whether the following statement is true/false with justification “when a reference
variable is assigned to another reference variable, another copy of object is created.”
15. Define the characteristics of objects.
16. Write a simple Java program to declare a class Student with data members and methods
to display details.
17. What is an instance variable? How does one access an instance variable of a class?
18. Explain the use of the keyword static in Java.

You might also like