The document outlines two modules focused on Java programming, covering fundamental concepts such as the structure of a Java program, object-oriented principles, and key features of Java. It also delves into advanced topics including class creation, method overloading, constructors, garbage collection, and access specifiers. Each topic is accompanied by examples and programming exercises to enhance understanding.
The document outlines two modules focused on Java programming, covering fundamental concepts such as the structure of a Java program, object-oriented principles, and key features of Java. It also delves into advanced topics including class creation, method overloading, constructors, garbage collection, and access specifiers. Each topic is accompanied by examples and programming exercises to enhance understanding.
2. Explain object-oriented principles 3. Explain key features of java programming language. 4. Define an Array? Explain types of arrays with an example. 5. What is type Conversion and Casting? Explain automatic type promotion in expressions with rules and demo program. 6. Explain different lexical issues in JAVA. 7. List and explain primitive datatypes in java. 8. Explain different types of Operators with an example program. 9. Explain looping statements with an example program. 10. Explain conditional statements with an example program. 11. Explain Scanner class with an example program.
Module 2
1. Define class and explain how to create an object.
2. Write a program to perform Stack operations using proper class and Methods. 3. Explain method overloading with an example program. 4. What are constructors? Explain two types of constructors with an example program. 5. Explain this keyword with an example program. 6. Explain Garbage collection. 7. Explain final keyword with an example program. 8. Define recursion. Write a recursive program to find nth Fibonacci number and factorial of a number. 9. Explain static keyword with an example program. 10. Explain Nested class and Inner class with an example program. 11. Explain passing objects to a method and returning objects with an example program. 12. Explain call by value and call by reference with an example program. 13. Explain the various access specifiers in Java.