Check The Programming Section
Introduction to Java, its development and features with OOPs paradigm ppt
Java byte code, Compiling and Executing first program, keywords, data types overview ppt
Explain the architecture of the JVM, including its core components.
Describe the role of the classloader in the JVM and its different types.
What is the difference between the heap and stack memory in the JVM?
Explain the garbage collection process in the JVM.
What is the difference between finalize() and Object.finalize()?
Describe the different memory areas in the JVM and their purpose.
Explain the concept of JIT compilation and its impact on performance.
How does method overloading and overriding work at the bytecode level?
What is the difference between serialVersionUID and hashCode()?
Discuss the concept of escape analysis and its optimization benefits.
Explain the different garbage collection algorithms used in the JVM.
How does the JVM handle exceptions? Describe the exception table and its role.
What is the difference between a soft reference, weak reference, and phantom reference?
Explain the concept of class loading delegation and its importance.
How does the JVM optimize method calls and inlining?
Lecture 4 - Working with arrays link
Declaring and initializing an array
Pass an array as argument to a function
Return an array from a function
Anonymous Array
Copy an array
Working with 2-d array and variable size of column (as Jagged array)
Solving problems with array
if-else
switch case
for and for-each loop
while and do-while loop
break and continue
Method Overloading
Variable Length Arguments (notes)
Lecture 8, 9, 10 - Class and objects (Sample Code) notes (excluded Array of Objects) (Sample Codes)
How to define a class and create an object?
Define a class with instance member and initialize them outside of the class
Use of getters and setters method
Constructor (default and parameterized)
use of this keyword
to initialize data member for handling name collision
call a constructor through this
call one member function from another
to return the reference of current instannce from a method
Instance initializer block
Cloning or copy an object
Shallow copy and Deep Copy (or manual copy of each member)
Through clone() method of Object class
Through Serialization of an object
Passing an object as parameter and returning an object from a function
Array of objects (notes)
Java Wrapper Class and Autoboxing and Unboxing (notes)
static filed and methods (notes)
Nested and Inner Class (notes)
What is inheritance?
What is meaning of superclass/ base class/ parent class?
What is the meaning of subclass/ derived class/ child class?
Can a superclass reference variable point to a subclass object? If so, how does it affect member access?
How to access base class member function from derived class method with same signature?
Can a subclass act as a superclass to another? Explain it with example.
Why java didn't supports multiple base class inheritance? Explain with proper reasoning.
What are the alternate solution of "Multiple base class inheritance" exist in Java?
Write a copy constructor for your class that can be used to copy of another object while creating a new one?
If all the member of base class is declared as private how derived class can access them. What are alternate solution java provides for hiding superclass member from outside world?
How can a subclass add its own implementation to a superclass method with same name and signature?
What is method overriding and its benefits?
What is polymorphism and its type?
What is abstract class and method?
How to print the complete class Hierarchy from bottom-up approach?
Final Notes (link)
What is package and its purpose?
How to developed project with multiple package?
How to define a package?
Accessibility and visibility of Class members outside of the class
What is interface and its purpose?
Difference with Abstract class
Can a Interface have concrete method? Explain with example?
What if a class didn't provide all the necessary implementation for the methods present in an interface?
What is default method for interface?
What changes we need to do in class definition, if it partially implements interface methods?
How to achieve run time polymorphism with interface and inheritance?
Is it possible to inherit an interface from another?
How java support Multiple inheritance with interface?
Can a class inherited from a class and multiple interface together? Justify your answer with proper explanation?
How methods and data member are declared inside an interface?
Can we have an instance of an interface?
Can a reference variable of an interface point to a class object? How dynamic method dispatch supports through interface?
What is the use of private member function for an interface?
Final notes (file)
What is a thread in Java, and how does it differ from a process?
What are the main benefits of using threads in an application?
What are the differences between extending Thread and implementing Runnable?
Explain the lifecycle of a thread in Java. What are the different thread states?
How does the start() method differ from the run() method in Java threads?
What is the difference between a user thread and a daemon thread?
What is thread synchronization, and why is it necessary?
How does Java achieve synchronization between multiple threads?
What is a synchronized block in Java, and how is it different from a synchronized method?
What is the meaning of intrinsic locks (monitors) in Java?
Explain deadlock in Java threads and how it can occur. How can you prevent deadlock?
What is the synchronized keyword in Java, and what does it do?
What is a Lock in Java, and how does it differ from using synchronized?
What are the wait(), notify(), and notifyAll() methods in Java, and how are they used?
Explain how thread communication works in Java. Why is it necessary to use these methods inside a synchronized block?
What is the difference between wait() and sleep() in threads?
What is the purpose of the join() method in Java threads?
Final Notes As per Syllabus (pdf)
What is Lambda Expression and its purpose?
What is functional interface and its keys features?
Write down the syntax of Lambda expression?
Write a lambda expression to find the sum of two numbers.
Is it necessary that lambda expression must have a parameter? Justify your answer.
What is block lambda expression? When to use it over single line lambda expression?
What is generic Lambda and its purpose?
Write a Generic Lambda for Summing Two Numbers of Any Type.
Can a lambda expression throw exception like other function? Justify with an example.
Final Notes as per syllabus (pdf)
Download the problem statement (link)