0% found this document useful (0 votes)
1 views

Java-oops Gnit

The document outlines key Java topics divided into theory and coding sections, covering fundamental concepts such as classes, objects, inheritance, and exception handling. It includes explanations of Java's architecture, garbage collection, and the differences between various programming constructs, along with practical coding examples. Additionally, it addresses advanced topics like thread lifecycle, method overloading, and the use of packages in Java.

Uploaded by

abirpramanik214
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Java-oops Gnit

The document outlines key Java topics divided into theory and coding sections, covering fundamental concepts such as classes, objects, inheritance, and exception handling. It includes explanations of Java's architecture, garbage collection, and the differences between various programming constructs, along with practical coding examples. Additionally, it addresses advanced topics like thread lifecycle, method overloading, and the use of packages in Java.

Uploaded by

abirpramanik214
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Java Topics: Theory and Coding Sections

Theory Section
1. Major and Minor elements with proper explanation of each element.

2. Relationship between classes and objects with proper example.

3. MCQs from the preliminary portions of Java which are similar to C e.g. loop, operator, data
type, automatic type promotion, type casting, etc.

5. Byte code and JVM — explain in brief, definition, working principle.

8. Garbage collection — short note with detailed explanation.

12. Why Java is called compiled-interpreted language?

13. Why Java is called architecture-neutral language? OR Why Java is called platform-
independent language?

18. Command Line Argument and Wrapper class — short note.

19. Inheritance — definition, a short program on single inheritance, basic concept of


inheritance, diff. types of inheritance with diagram.

20. Explain different types of inheritance in Java. Explain different types of inheritance in
OOP.

23. Why Java doesn't support multiple inheritance? Explain with example program.

24. Abstract class v/s interface — with example programs.

25. What is Package? How can you create user defined package in Java? Explain with an
example.

27. Chart of access specifier.

29. What is exception? Checked v/s unchecked exceptions (few types).

31. final v/s finally v/s finalize().

32. What is thread? Why thread is called a lightweight process?

33. Thread lifecycle → description, diagram and all detailed methods.

34. Applet lifecycle → details with diagram.


Coding Section
4. Piece of code may be given, you need to find out the output from the above portions.

6. Constructor — diff. between method and constructor, definition, syntax, diff. between
different types of constructor, programming examples of each type, detailed concept.

7. this keyword — uses and example programs.

9. Object cloning/Copy constructor with program.

10. Method overloading vs. Constructor overloading with an example, Program. Method
overloading – Description, Definition, rules, Program.

11. Method overloading vs Method overriding Early binding v/s Late binding Static
polymorphism v/s Dynamic polymorphism → All are same Prepare with programming
examples.

14. Static keyword — uses and properties of static keyword with example program.

15. Inner class, nested class — short note, definition, different types, example programs,
working procedure.

16. Immutable v/s mutable string with example.

17. toString() — use with example program, equals() v/s == with example programs, some
more methods of String and StringBuffer classes (will discuss in class).

21. Dynamic method dispatch/Runtime polymorphism — detailed explanation with


programming example.

22. super() and super keyword — uses with example program.

26. How to include multiple public classes inside a package? Explain with an example.

28. How to import multiple packages in a Java program? Explain with an example.

30. Details of try-catch block with example programs and uses.

35. Thread priority → description, types of thread priorities, implementation using


program.

You might also like