70+ Trickiest Core Java Interview Questions and Answers 😱

GenZ Career
5 Jul 202418:59

Summary

TLDRThis video script covers essential Java interview questions and answers, focusing on try-catch blocks, exception handling, and their impact on Java application performance. It discusses the use of try-with-resources, multiple catch blocks, and how to handle multiple exceptions efficiently. The script also touches on Java's object-oriented nature, memory management, and key concepts like final variables, method overloading, and overriding. It provides insights into Java's design patterns, encapsulation, and the importance of algorithms and data structures for effective programming.

Takeaways

  • 📘 The video covers most asked core Java interview questions and answers, emphasizing the importance of understanding Java fundamentals for interview success.
  • 🔒 Exception handling in Java is crucial, with the try-catch block being a key concept for managing runtime errors without terminating the application.
  • 🔄 Java's garbage collection mechanism is vital for memory management, and JVM uses multiple garbage collection algorithms to efficiently reclaim memory used by objects no longer in use.
  • 🚀 Java is not 100% object-oriented due to its use of primitive types like int and char, which are not objects, contrasting with fully object-oriented languages.
  • 🔑 The main method in Java is the entry point for any Java application, and it must be declared as public, static, and void to be accessible from any context.
  • 🔍 Java's String class is immutable, meaning once a String object is created, it cannot be changed, which has implications for performance and memory usage.
  • 🔗 The use of references in Java is essential for object manipulation, as Java collections like List, Map, and Set can only hold objects, not primitive types.
  • 🔄 Auto-boxing and unboxing in Java allow automatic conversions between primitive types and their corresponding wrapper classes, but can lead to unexpected behavior if not used carefully.
  • 🏭 The Singleton design pattern is used to ensure that a class has only one instance, providing a global point of access to it, which is useful for controlling resource-intensive operations.
  • 🔄 Java's polymorphism allows objects to be treated as instances of their parent class, enabling dynamic method dispatch which is key for writing flexible and reusable code.
  • 🛠️ Abstract classes and interfaces in Java are used to define templates for other classes, enforcing a contract for subclasses to implement specific methods without dictating how they should be implemented.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is to cover the most asked core Java interview questions and answers.

  • Why is it important to understand the 'try-catch' block in Java?

    -Understanding the 'try-catch' block is important as it helps in handling exceptions in Java, allowing a program to continue execution without crashing after an error occurs.

  • What is the purpose of a 'finally' block in Java?

    -A 'finally' block in Java is used to execute important code that must run regardless of whether an exception is thrown or caught, typically used for cleanup activities.

  • How does the 'try-with-resources' statement in Java help with exception handling?

    -The 'try-with-resources' statement in Java is used to automatically close resources after the program is finished with them, reducing the chances of resource leaks.

  • What is the impact of using 'try-catch-finally' on the performance of a Java application?

    -Using 'try-catch-finally' can slightly affect the performance due to the overhead of managing exceptions; however, it is generally minimal and necessary for robust error handling.

  • Why is it necessary to manage exceptions in Java?

    -Managing exceptions in Java is necessary to maintain the stability and reliability of an application, preventing it from crashing and allowing it to handle errors gracefully.

  • What is the difference between checked and unchecked exceptions in Java?

    -Checked exceptions are exceptions that a method must either handle or declare to be thrown, whereas unchecked exceptions (runtime exceptions) do not require mandatory handling or declaration.

  • How can multiple exceptions be handled in a single 'catch' block in Java?

    -Multiple exceptions can be handled in a single 'catch' block by separating them with a pipe symbol '|' in the exception type, allowing the same block of code to handle multiple types of exceptions.

  • What is the role of the 'static' keyword in a Java method?

    -The 'static' keyword in a Java method indicates that the method belongs to the class rather than instances of the class, allowing it to be called without creating an object.

  • Why is it not possible to override the 'main' method in Java?

    -It is not possible to override the 'main' method in Java because a static method cannot be overridden as it is not associated with any instance of the class.

  • What are the implications of using object-oriented programming languages like Java in enterprise projects?

    -Using object-oriented programming languages like Java in enterprise projects helps in organizing code better, making it easier to update, scale, and save time and effort by reusing code.

Outlines

00:00

📘 Java Interview Questions and Exception Handling

This paragraph delves into the most feared core Java interview questions and answers. It discusses the intricacies of try-catch blocks, the final block statement, and the execution of programs without catch blocks. It also covers the use of return statements in try and catch blocks, the potential for running a program without a catch block, and the importance of exception handling in Java applications. The paragraph emphasizes the impact of try-finally on performance due to the overhead of managing exceptions and the minimal effect on performance when exceptions are rare. It also touches on the use of multiple final blocks in Java and how they can be used in a single try-catch structure.

05:01

🛠 Java Language Features and Memory Management

The second paragraph explores various features of the Java language, including the inability to override the main method, the use of static methods, and the concept of auto-boxing and unboxing in Java. It explains the security aspects of Java, the lack of pointer support, and the use of wrapper classes for primitive types. The paragraph also discusses the use of collection frameworks in Java, the difference between unboxing and auto-boxing, and the potential for unexpected behavior when comparing integers using auto-boxing. Additionally, it covers the use of the String pool, the benefits of the String buffer, and the organization of classes into packages for better accessibility and maintainability.

10:02

🔄 Java Class Design and Inheritance

This paragraph focuses on the principles of class design in Java, including the use of final classes and methods, the concept of private and final fields, and the provision of setter methods for variables. It discusses the limitations of extending a class in Java, the avoidance of multiple inheritances, and the use of polymorphism through method overloading and overriding. The paragraph also explains the use of abstract classes and interfaces, the role of encapsulation in hiding data and maintaining security, and the importance of method overloading and overriding rules in Java programming.

15:04

🔧 Java Programming Practices and Performance

The final paragraph discusses common Java programming practices, such as the use of final variables, the implementation of interfaces, and the handling of collections using sorting algorithms like TimSort. It covers the use of hash maps in Java, the performance improvements in Java 8, and the impact of design patterns on application performance. The paragraph also touches on the use of single instance patterns for managing database connections and the creation of servers using Java APIs. It concludes with the importance of understanding Java's essential tools and libraries for effective application development.

Mindmap

Keywords

💡Try-Catch Block

A try-catch block is a fundamental construct in Java used for exception handling. It allows a programmer to 'try' a block of code that might potentially throw an exception, and 'catch' it to handle it gracefully. In the video's context, it is mentioned as a way to manage exceptions, which is crucial for maintaining the robustness of Java applications. For example, the script discusses 'catch block' in the phrase 'catch block does the finally block still execute?'

💡Java

Java is a widely used, class-based, object-oriented programming language. It is the main theme of the video as the script covers various aspects of Java programming, including exception handling, memory management, and design patterns. The script mentions Java in numerous contexts, such as 'Java application' and 'Java interview questions', indicating that the video is educational content for Java developers.

💡Garbage Collection

Garbage collection is an automatic memory management process in Java that reclaims memory by removing objects that are no longer in use. The script touches on this concept when it discusses how memory leaks can occur in Java even with automatic garbage collection. It is a critical concept for Java developers to understand, as it relates to the efficient use of system resources.

💡Singleton Pattern

The Singleton pattern is a software design pattern that restricts the instantiation of a class to one single instance. This ensures that a class has only one object while providing a global point of access to that instance. The script refers to this pattern when mentioning 'single class' and 'private constructor', highlighting its use in controlling access to a class's methods and fields.

💡Polymorphism

Polymorphism is a concept in object-oriented programming that allows objects to be treated as instances of their parent class rather than their actual class. The video script discusses this with the phrase 'dynamic method dispatch in Java', which is a mechanism that enables polymorphic behavior. It is a fundamental principle in Java that allows for more flexible and reusable code.

💡Static Method

A static method is a method that belongs to a class rather than an instance of the class. It can be called without creating an object of the class. The script mentions static methods in the context of 'static block' and 'static method', indicating their role in providing utility functions that are not associated with any specific object state.

💡Memory Leak

A memory leak occurs in a program when memory that is no longer needed is not released back to the system, leading to decreased performance and potential crashes. The script refers to memory leaks in the context of Java, explaining that they can happen when objects are no longer needed but are still being referenced, preventing the garbage collector from reclaiming the memory.

💡Interface

An interface in Java is a reference type that is used to specify a contract that classes must implement. It is a collection of abstract methods that provide a framework for defining methods without implementing the methods. The script discusses interfaces in the context of 'default methods in interfaces' and 'functional interfaces', which are used to enable classes to implement multiple types of behavior.

💡Synchronization

Synchronization is a technique used in Java to control the access of multiple threads to shared resources. It ensures that only one thread can access a resource or method at a time, preventing race conditions and ensuring thread safety. The script mentions synchronization in the context of 'synchronized block' and 'synchronized methods', which are used to manage concurrent access to objects.

💡Java Virtual Machine (JVM)

The Java Virtual Machine is an abstract computing machine that enables a computer to run Java programs as well as programs written in other languages that are compiled to Java bytecode. The script refers to the JVM in the context of 'Java application' and 'garbage collection', highlighting its role in executing Java applications and managing memory.

💡Overriding

Overriding is the process by which a subclass provides a specific implementation of a method that is already defined in its superclass. It is a key aspect of polymorphism in Java. The script discusses overriding in the context of 'overriding methods in Java', explaining that it allows a subclass to provide a different behavior for a method that is already defined in its superclass.

💡Constructor

A constructor in Java is a special method used to initialize objects of a class. It is called when an object is created, and it sets the object's initial state. The script mentions constructors in the context of 'private constructor' and 'multiple constructors', which are used in design patterns like Singleton to control object creation.

💡Exception Handling

Exception handling is a programming technique for responding to exceptional conditions—situations that arise during the execution of a program that cannot be handled by the standard program flow. The script discusses various aspects of exception handling in Java, such as 'try-catch block', 'finally block', and 'throw exceptions', which are crucial for writing robust and error-tolerant code.

💡Object-Oriented Programming

Object-oriented programming (OOP) is a programming paradigm based on the concept of 'objects', which can contain data in the form of fields (often known as attributes or properties) and code in the form of procedures (often known as methods). The script touches on OOP in the context of Java, explaining that while Java is an object-oriented language, it also supports primitive data types, which makes it not a 'pure' OOP language.

Highlights

Highlight 1 text - e.g., Introduction to Java exception handling with try-catch blocks.

Highlight 2 text - e.g., Explanation of how final blocks work in Java.

Highlight 3 text - e.g., Discussion on the use of try-with-resources to manage resources efficiently.

Transcripts

play00:00

हे गाइ इन दिस वीडियो आई विल बी कवरिंग

play00:02

मोस्ट रिकस्ट कोर जावा इंटरव्यू क्वेश्चन

play00:04

एंड आंसर्स प्लीज सब्सक्राइब टू दिस चैनल

play00:06

फॉर सच अमेजिंग कंटेंट सो लेट्स गेट

play00:08

स्टार्टेड व्हाट हैपेंस इफ अ रिटर्न

play00:11

स्टेटमेंट इज एग्जीक्यूटेड इनसाइड द ट्राई

play00:13

और कैच ब्लॉक डज द फाइनली ब्लॉक स्टिल

play00:15

एक्सक्यूट द फाइनली ब्लॉक एग्जीक्यूट्स

play00:18

इवन इफ अ रिटर्न स्टेटमेंट इज यूज्ड इन द

play00:20

ट्रा और कैच ब्लॉक एं शोरिन अप रंस इज इट

play00:24

पॉसिबल टू एग्जीक्यूट अ प्रोग्राम विदाउट

play00:26

अ कैच ब्लॉक इफ सो हाउ वुड यू यूज ट्राई

play00:29

एंड फाइनली टू गदर यस वी कैन यूज ट्राई

play00:31

विथ फाइनली विदाउट अ कैच ब्लॉक टू इंश्योर

play00:34

क्लीन अप अकर्स इवन इफ वी अलाउ द

play00:37

एक्सेप्शन टू प्रोपागेट अप हाउ डज द

play00:39

एक्सेप्शन हैंडलिंग विद ट्राई कैच फाइनली

play00:41

अफेक्ट द परफॉर्मेंस ऑफ अ जावा एप्लीकेशन

play00:44

यूजिंग ट्राई कैच फाइनली कैन अफेक्ट

play00:46

परफॉर्मेंस स्लाइटली ड्यू टू ओवरहेड ऑफ

play00:49

मैनेजिंग एक्सेप्शन बट इज जनरली मिनिमल

play00:52

अनलेस एक्सेप्शन आर थ्रोन फ्रीक्वेंसी

play00:55

क्यूटे

play01:00

फाइनली ब्लॉक विल नॉट एग्जीक्यूट इफ द

play01:02

जेवीएम एसिटस वाया सिम . एकट ड्यूरिंग

play01:05

ट्राई और कैच एग्जीक्यूशन कैन वी राइट

play01:08

मल्टीपल फाइनली ब्लॉक्स इन जावा नो ईच

play01:11

ट्राई कैन हैव ओनली वन फाइनली ब्लॉक

play01:13

मल्टीपल फाइनली ब्लॉक्स आर नॉट अलाउड विद

play01:16

इन अ सिंगल ट्राई कैच फाइनली स्ट्रक्चर

play01:18

हाउ वुड यू हैंडल मल्टीपल एक्सेप्शन इन अ

play01:21

सिंगल कैच ब्लॉक यूज अ सिंगल कैच ब्लॉक

play01:24

फॉर मल्टीपल एक्सेप्शन बाय सेपरेटिंग देम

play01:26

विद अ पाइप सिंबल एग्जांपल कैच आई

play01:29

एक्सेप्शन पाइप सिंबल एसक्यूएल एक्सेप्शन

play01:32

ई टू हैंडल बोथ एक्सेप्शन विद द सेम लॉजिक

play01:36

हे गाइ बिफोर मूविंग फॉरवर्ड आई विल लाइक

play01:38

टू इफॉर्म वन वेरी इंपोर्टेंट थिंग वी आर

play01:41

रनिंग अ फाइव स्टार रेटेड इंटरव्यू

play01:42

प्रिपरेशन किट दैट हैज हेल्प थाउजेंड्स ऑफ

play01:45

पीपल क्रैकिंग देयर जावा स्प्रिंगबूट

play01:47

डेवलपर इंटरव्यूज हैविंग अ 99 पर सक्सेस

play01:50

रेट एंड यू कैन चेक द रिव्यूज एज वेल

play01:52

बेसिकली दिस किट हैज थ्री पार्ट्स द

play01:54

फर्स्ट पार्ट इज कंप्लीट इंटरव्यू

play01:56

प्रिपरेशन मटेरियल दिस इंक्लूड 16

play01:58

डॉक्यूमेंट स्टेप बाय स् विद प्रैक्टिस

play02:00

क्विज वेयर ऑल द कंटेंट इज ऑर्गेनाइज्ड

play02:03

एंड अवेलेबल इन वन प्लेस द सेकंड पार्ट इज

play02:05

टू रियल एंटरप्राइज प्रोजेक्ट्स वन बेस्ड

play02:07

इन स्वीडन एंड द अदर इन द यूएसए देयर विल

play02:10

बी वीडियो एक्सप्लेनेशन प्रोटोटाइप सोर्स

play02:12

कोड पीडीएफ डॉक्यूमेंट एंड क्विज फॉर ईच

play02:15

प्रोजेक्ट इफ समवन ऑलरेडी हैज प्रोजेक्ट्स

play02:17

देन दे कैन टेक दिस एज अ रेफरेंस एंड

play02:19

प्रिपेयर अकॉर्डिंग द थर्ड पार्टी सेवन

play02:22

डेज ऑफ चैट सपोर्ट फॉर ऑल योर डाउट्स ऑन

play02:24

प्रोजेक्ट्स प्रिपरेशन मटेरियल और एनी

play02:26

गाइडेंस आफ्टर कंपलीटिंग दिस किट इफ एनी

play02:28

वन फेल्स टू द इंटरव्यूज वी प्रोवाइड

play02:31

पर्सनल गाइडेंस एंड रेफरल टू डिजर्विंग

play02:33

कैंडिडेट्स नाउ मूविंग टू आवर क्वेश्चंस

play02:36

कैन अ जावा एप्लीकेशन बी रन विदाउट

play02:38

इंस्टॉलिंग द जे आरई वी कैन नॉट रन अ जावा

play02:40

एप्लीकेशन विदाउट द जे आरई बिकॉज़ इट हैज

play02:43

द एसेंशियल टूल्स एंड लाइब्रेरीज द

play02:45

एप्लीकेशन नीड्स बट देयर इज अ कूल टूल

play02:48

कॉल्ड जेलिंग इन न्यूअर जावा वर्जंस फ्रॉम

play02:50

जावा 9 दैट लेट्स अस बंडल आवर जावा

play02:53

एप्लीकेशन विद इट्स लिटल वर्जन ऑफ़ द जीआर

play02:55

एंड आल्सो विद गवल वीएम वी कैन बिल्ड अ

play02:58

नेटिव इमेज दैट डंट नीड अ जेआर टू रन इज

play03:02

इट पॉसिबल टू हैव द जेडीके इंस्टॉल्ड

play03:03

विदाउट हैविंग द जे आरई नो द जेडीके

play03:06

कंटेंस द जेआर इट इज इंपॉसिबल टू हैव अ

play03:08

जेडीके विदाउट अ जेआर एज इट कंटेंस

play03:11

एसेंशियल कंपोनेंट्स फॉर रनिंग जावा

play03:12

एप्लीकेशंस व्हिच द जेडीके आल्सो यूज फॉर

play03:15

डेवलपमेंट कैन यू टेल मी व्हाट एल्गोरिथम

play03:18

जेवीएम यूज फॉर गार्बेज कलेक्शन जेवीएम

play03:20

यूज मल्टीपल गार्बेज कलेक्शन एल्गोरिथम सच

play03:23

एज मार्क स्वीप मार्क कंपैक्ट एंड

play03:25

जेनरेशनल कॉपिंग डिपेंडिंग ऑन द कलेक्टर

play03:27

चूज हाउ कैन मेमोरी लीक अकर्स इन जावा इवन

play03:30

इफ वी हैव ऑटोमेटिक गार्बेज कलेक्शन

play03:32

मेमोरी लीक्स इन जावा अकर्स व्हेन

play03:34

ऑब्जेक्ट्स आर नो लंगर नीडेड बट स्टिल

play03:36

रिफरेंस फ्रॉम अदर रीचे बल ऑब्जेक्ट्स एंड

play03:39

हेंस प्रीवेंटिंग द गार्बेज कलेक्टर फ्रॉम

play03:41

रिक्लेमिंग देयर मेमोरी इज जावा अ 100%

play03:44

ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग लैंग्वेज

play03:46

नो जावा इज नॉट कंसीडर्ड 100% ऑब्जेक्ट

play03:49

ओरिएंटेड बिकॉज़ इट यूज प्रिमिटिव टाइप्स

play03:51

लाइक इंट केर एक्सेट्रा दैट आर नॉट

play03:54

ऑब्जेक्ट्स इन अ फुल्ली ऑब्जेक्ट ओरिएंटेड

play03:56

लैंग्वेज एवरीथिंग इज ट्रीटेड एज एन

play03:58

ऑब्जेक्ट ट व्हाट आर द एडवांटेजेस ऑफ जावा

play04:01

बीइंग पार्शियली ऑब्जेक्ट ओरिएंटेड यूजिंग

play04:03

सिंपल नॉन ऑब्जेक्ट टाइप्स लाइक इंटी जर्स

play04:06

एंड बुलियंस हेल्प्स जावा रन फास्टर एंड

play04:08

यूज लेस मेमोरी द मिक्स ऑफ फीचर्स अलाउ

play04:11

जावा टू वर्क वेल विद अदर टेक्नोलॉजीज एंड

play04:13

सिस्टम्स व्हिच माइट नॉट बी फुली ऑब्जेक्ट

play04:16

ओरिएंटेड व्हाट इज द यूज़ ऑफ ऑब्जेक्ट

play04:18

ओरिएंटेड प्रोग्रामिंग लैंग्वेज इन द

play04:19

एंटरप्राइज प्रोजेक्ट्स ऑब्जेक्ट ओरिएंटेड

play04:22

प्रोग्रामिंग इज यूज इन बिग प्रोजेक्ट्स

play04:24

टू मेक कोडिंग इजियर टू हैंडल इट हेल्प्स

play04:27

ऑर्गेनाइज कोड बेटर मेक्स इट इजियर टू

play04:29

अपडेट एंड स्केल एंड लेट्स प्रोग्रामर्स

play04:31

यूज कोड सेविंग टाइम एंड एफर्ट्स

play04:34

एक्सप्लेन पब्लिक स्टेटिक वॉइड मेन इन

play04:37

जावा पब्लिक स्टैटिक वॉइड मेन स्ट्रिंग

play04:39

आक्स इज द एंट्री पॉइंट ऑफ एनी स्टैंड

play04:42

अलोन जावा एप्लीकेशन पब्लिक मेक्स दिस

play04:44

मेथड एक्सेसिबल फ्रॉम एनी वेयर स्टैटिक

play04:46

मींस आई डोंट नीड टू क्रिएट एन ऑब्जेक्ट

play04:49

टू कॉल दिस मेथड वॉइड मींस इट डजन रिटर्न

play04:52

एनी वैल्यू एंड मेन इज द नेम ऑफ दिस मेथड

play04:55

द स्ट्रिंग आर्कस पार्ट इज एन एरे दैट

play04:58

होल्ड्स एनी कमांड लाइन आर्गुमेंट पास टू

play05:00

द प्रोग्राम सो व्हेन आई रन अ जावा

play05:03

प्रोग्राम दिस इज द फर्स्ट मेथड ट्स गेट

play05:05

कॉल्ड व्हाट विल हैपन इफ वयी डोंट

play05:08

डिक्लेयर द मेन एज अ स्टैटिक इफ वी डोंट

play05:10

डिक्लेयर द मेन मेथड एज अ स्टैटिक इन जावा

play05:12

प्रोग्राम द जेवीएम वंट बी एबल टू लॉन्च

play05:15

आवर जावा एप्लीकेशन कैन वी ओवरराइट द मेन

play05:17

मेथड नो वी कैन नॉट ओवरराइट द मेन मेथड ऑफ

play05:20

जावा बिकॉज़ अ स्टैटिक मेथड कैन नॉट बी

play05:23

ओवर रिटन द स्टैटिक मेथड इन जावा इज

play05:25

एसोसिएटेड विद इन अ क्लास वेयर एज द नॉन

play05:28

स्टैटिक मेथड इज़ एसोसिएटेड विद एन

play05:30

ऑब्जेक्ट स्टैटिक बिलंग टू द क्लास एरिया

play05:32

स्टैटिक मेथड्स डोंट नीड एन ऑब्जेक्ट टू

play05:35

बी कॉल्ड कैन वी ओवरलोड द मेन मेथड यस वी

play05:38

कैन ओवरलोड द मेन मेथड इन जावा बाय जस्ट

play05:41

चेंजिंग इट्स आर्गुमेंट बट जेवीएम ओनली

play05:43

कॉल्स द ओरिजिनल मेन मेथड इट विल नेवर कॉल

play05:46

आर ओवरलोडेड मेन मेथड कैन प्रिमिटिव डेटा

play05:49

टाइप्स बी नल नो प्रिमिटिव डेटा टाइप्स इन

play05:51

जावा कैन नॉट बी नल दे हैव डिफॉल्ट

play05:54

वैल्यूज एग्जांपल ़ फॉर इंट फॉल्स फॉर

play05:57

बुलियन 0.0 फॉर डबल एंड मस्ट ऑलवेज हैव अ

play06:00

वैल्यू कैन वी डिक्लेयर पॉइंटर इन जावा नो

play06:03

जावा डज नॉट प्रोवाइड द सपोर्ट ऑफ पॉइंटर

play06:06

एज जावा नीडेड टू बी मोर सिक्योर बिकॉज ऑफ

play06:09

व्हिच द फीचर ऑफ द पॉइंटर इज नॉट

play06:11

प्रोवाइडेड इन जावा व्हाई वी यूज रैपर

play06:14

क्लास इन कलेक्शंस बिकॉज एरे लिस्ट हैश

play06:16

मैप एंड अदर्स इन जावा कलेक्शन फ्रेमवर्क

play06:19

कैन ओनली होल्ड ऑब्जेक्ट्स एंड नॉट

play06:21

प्रिमिटिव टाइप्स रैपर क्लासेस अलाउ

play06:23

प्रिमिटिव वैल्यूज टू बी ट्रीटेड एज

play06:24

ऑब्जेक्ट्स इनेबलिंग देम टू बी स्टोर्ड

play06:27

एंड मैनेज विद इन दीज कलेक्शंस एगजाम ऑफ

play06:30

रैपर क्लासेस आर इंटी जर्स बुलियन डबल

play06:32

एक्सेट्रा कैन यू एक्सप्लेन द डिफरेंस

play06:35

बिटवीन अनबॉक्सिंग एंड ऑटो बॉक्सिंग इन

play06:36

जावा ऑटो बॉक्सिंग ऑटोमेटिक कन्वर्ट्स अ

play06:39

प्रिमिटिव टाइप लाइक इंट टू इट्स

play06:41

करेस्पॉन्डिंग्ली

play06:48

वेयर ऑटो बॉक्सिंग कुड लीड टू अन

play06:51

एक्सपेक्टेड बिहेवियर व्हेन कंपेयरिंग टू

play06:53

इंटी जर इंस्टेंसस यूजिंग इक्वल इक्वल

play06:56

ऑटोबॉक्सिंग माइट लीड टू फाल्स रिजल्ट्स

play06:58

बिकॉज इट कंपेयर्स ऑब्जेक्ट रेफरेंसेस नॉट

play07:01

वैल्यूज इज देयर एनी सिनेरियो वेयर ऑटो

play07:04

बॉक्सिंग एंड अनबॉक्सिंग कुड कॉज अ नल

play07:06

पॉइंटर एक्सेप्शन अ नल पॉइंटर एक्सेप्शन

play07:09

कैन अकर इफ यू अनबॉक्स अ नल ऑब्जेक्ट फॉर

play07:12

एग्जांपल असाइनिंग नल टू एन इंटी जर एंड

play07:14

देन यूजिंग इट इन अ कॉन्टेक्स्ट वेयर एन

play07:17

इंट इज एक्सपेक्टेड आर देयर एनी सिनेरियो

play07:20

वेयर यूजिंग द स्ट्रिंग पूल माइट नॉट बी

play07:22

बेनिफिशियल इट विल नॉट बी बेनिफिशियल

play07:24

व्हेन देयर इज मेनी यूनिक स्ट्रिंग्स

play07:26

बिकॉज इट विल बी कॉम्प्लेक्शन टू चेक ईच

play07:29

स्ट्रिंग गिव अ सिनेरियो वेयर स्ट्रिंग

play07:32

बफर इज बेटर देन द स्ट्रिंग अ सिनेरियो

play07:34

वेयर स्ट्रिंग बफर इज मोर एप्रोप्रियेट

play07:59

द प्रोग्राम ऑर्गेनाइजिंग क्लासेस इनटू द

play08:01

पैकेजेस मेक इट इजियर टू लोकेट रिलेटेड

play08:04

क्लासेस व्हाई डू वी यूज गेटर सेटर व्हेन

play08:06

वी कैन मेक फील्ड्स पब्लिक एंड सेटिंग

play08:09

गेटिंग डायरेक्टली यूजिंग गेटर्स एंड

play08:11

सेटर्स इंस्टेड ऑफ पब्लिक वेरिएबल अलाउ अस

play08:13

टू कंट्रोल हाउ वैल्यूज आर सेट एंड एक्सेस

play08:16

एड वैलिडेशन एंड कीप द एबिलिटी टू चेंज

play08:19

हाउ डाटा इज स्टोर्ड विदाउट अफेक्टिंग अदर

play08:21

पार्ट्स ऑफ योर प्रोग्राम कैन अ टॉप लेवल

play08:24

क्लास बी प्राइवेट और प्रोटेक्टेड इन जावा

play08:27

नो अ टॉप लेवल क्लास कैन नॉट बी प्रवेट और

play08:29

प्रोडक्टिव बिकॉज इट रिस्ट्रिक्ट्स एक्सेस

play08:33

मेकिंग इट अनयूजेबल फ्रॉम एनी अदर क्लासेस

play08:36

कांट्रेरी टू द पर्पस ऑफ अ टॉप क्लास कैन

play08:39

अ क्लास इन जावा बी विदाउट एनी मेथड्स और

play08:41

फील्ड्स यस अ क्लास इन जावा कैन बी

play08:43

डिक्लेयर्ड विदाउट एनी मेथड्स और फील्ड्स

play08:45

सच अ क्लास कैन स्टिल बी यूज टू क्रिएट

play08:47

ऑब्जेक्ट्स लद दीज ऑब्जेक्ट्स वुड हैव नो

play08:50

स्पेसिफिक बिहेवियर और स्टेट हाउ कैन वी

play08:52

क्रिएट सिंगल टन क्लासेस इन ऑर्डर टू मेक

play08:55

अ सिंगल टन क्लास फर्स्ट वी हैव टू मेक अ

play08:57

कंस्ट्रक्टर एज प्राइवेट नेक्स्ट वी हैव

play09:00

टू क्रिएट अ प्राइवेट स्टैटिक इंस्टेंस

play09:01

ऑफ़ द क्लास एंड फाइनली वी हैव टू

play09:03

प्रोवाइड स्टैटिक मेथड इंस्टेंस सो

play09:13

दैट्ची थ्रेड्स ट्राई टू क्रिएट एन

play09:15

इंस्टेंट एट द सेम टाइम इट कुड रिजल्ट इन

play09:18

मल्टीपल इंस्टेंसस टू प्रिवेंट दिस वी कैन

play09:20

सिंक्रोनाइज द मेथड दैट क्रिएट्स द

play09:22

इंस्टेंस और यूज़ अ स्टैटिक इनिशिया इइ जर

play09:25

कैन वी यूज़ अ प्राइवेट कंस्ट्रक्टर यस वी

play09:27

कैन यूज़ प्राइवेट कंस्ट्रक्टर्स जावा दे

play09:30

आर मोस्टली यूज इन क्लासेस दैट प्रोवाइड

play09:32

स्टैटिक मेथड्स और कंटेन ओनली स्टैटिक

play09:34

फील्ड्स अ कॉमन यूज इज इन द सिंगल टन

play09:37

डिजाइन पैटर्न वेयर द गोल इज़ टू लिमिट द

play09:39

क्लास टू ओनली वन ऑब्जेक्ट कैन

play09:41

कंस्ट्रक्टर बी ओवरलोडेड यस वी कैन हैव

play09:44

मल्टीपल कंस्ट्रक्टर इन अ जावा क्लास ईच

play09:46

विद अ डिफरेंट सेट ऑफ़ पैरामीटर्स दिस

play09:48

लेट्स अस क्रिएट ऑब्जेक्ट्स इन वेरियस वेज

play09:51

डिपेंडिंग ऑन व्हाट इंफॉर्मेशन वी हैव एट

play09:53

द टाइम वई आर इमिटेबल ऑब्जेक्ट्स यूज़फुल

play09:55

फॉर कॉन्करेंट प्रोग्रामिंग दीज आर

play09:57

यूज़फुल इन कॉन्करेंट प्रोग्रामिंग बिकॉज़

play09:59

दे कैन बी शेयर्ड बिटवीन थ्रेड्स विदाउट

play10:01

नीडिंग सिंक्रोनाइजेशन हाउ कैन वी क्रिएट

play10:03

इ मूटे बल क्लास फर्स्ट डिक्लेयर द क्लास

play10:06

एज अ फाइनल सो इट कैन नॉट बी एक्सटेंडेड

play10:08

सेकंड मेक ऑल ऑफ द फील्ड्स फाइनल एंड

play10:11

प्राइवेट सो दैट डायरेक्ट एक्सेस इज़ नॉट

play10:12

अलाउड थर्ड डोंट प्रोवाइड सेटर्स मेथड्स

play10:15

फॉर वेरिएबल फोर्थ इनिश आइज ऑल फील्ड्स

play10:18

यूजिंग अ कंस्ट्रक्टर मेथड कैन अ क्लास

play10:20

एक्सटेंड्स ऑन इट्स ओन नो अ क्लास इन जावा

play10:23

कैन नॉट एक्सटेंड इट सेल्फ इफ इट ट्राइज

play10:25

इट विल कॉज एन एरर व्हाई मल्टीपल

play10:27

इन्हेरिटेंस इज नॉट पॉसिबल इन जावा जावा

play10:29

अवॉइड यूजिंग मल्टीपल इन्हेरिटेंस बिकॉज़

play10:32

इट कैन मेक थिंग्स कॉम्प्लिकेटेड सच एज़

play10:34

व्हेन टू पैरेंट क्लासेस हैव मेथड्स ट

play10:36

कंफ्लेक्स मेथड ओवरलोडिंग रिलेट टू

play10:38

पॉलीमोर्फस ज्म मेथड ओवरलोडिंग इज यूजिंग

play10:41

द सेम मेथड नेम विद डिफरेंट इनपुट्स इन द

play10:43

सेम क्लास इट्स अ सिंपल वे टू यूज़

play10:45

पॉलीमोर्फस ज्म व्हेन वीी आर राइटिंग आवर

play10:48

कोड व्हाट इज़ डायनेमिक मेथड डिस्पैच इन

play10:50

जावा डायनेमिक मेथड डिस्पैच इज़ अ वे जावा

play10:53

डिसाइड्स व्हिच मेथड टू यूज़ एट रन टाइम

play10:55

व्हेन मेथड्स आर ओवररिडेन इन सबक्लासेस इट

play10:58

इंश्योर्स द करेक्ट मेथड इज यूज़ बेस्ड ऑन

play11:01

द टाइप ऑफ़ ऑब्जेक्ट कैन कंस्ट्रक्टर बी

play11:03

पॉलीमोर्फस नो कंस्ट्रक्टर कैन नॉट बी

play11:05

पॉलीमोर्फस वीी कैन हैव मेनी कंस्ट्रक्टर

play11:07

इन अ क्लास विद डिफरेंट इनपुट्स बट दे

play11:09

डोंट बिहेव डिफरेंटली बेस्ड ऑन द ऑब्जेक्ट

play11:12

टाइप लाइक मेथड्स डू कैन यू प्रोवाइड

play11:14

एग्जांपल्स ऑफ वेयर एसैक्स इज़ इफेक्टिवली

play11:16

यूज्ड इन जावा लाइब्रेरीज जावा यूज एसैक्स

play11:19

इन इट्स कलेक्शन टूल्स फॉर एग्जांपल व्हेन

play11:21

वी यूज़ अ लिस्ट वी डोंट नीड टू नो हाउ इट

play11:24

स्टोर्स डटा वेदर एज एन एरे लिस्ट और लिंक

play11:27

लिस्ट व्हाट हैपेंस इफ अ क्लास इंक्लूड्स

play11:29

एन एब्स्ट्रेक्ट मेथड अ क्लास विद एन

play11:31

एब्स्ट्रेक्ट मेथड मस्ट इट सेल्फ बी

play11:33

एब्स्ट्रेक्ट वी कैन नॉट क्रिएट

play11:34

ऑब्जेक्ट्स डायरेक्टली फ्रॉम एन

play11:35

एब्स्ट्रेक्ट क्लास इट मींस टू बी अ

play11:37

ब्लूप्रिंट फॉर अदर क्लासेस हाउ डज

play11:39

एब्स्ट्रेक्शन हेल्प्स इन

play11:41

अचीविया शंस एब्स्ट्रैक्ट्स अस हाइड

play11:44

कॉम्प्लेक्टेड एंड ओनली शो व्हाट्स

play11:46

नेसेसरी दिस मेक्स इट इजियर टू चेंज

play11:49

पार्ट्स ऑफ़ अ प्रोग्राम विदाउट अफेक्टिंग

play11:51

अदर्स कीपिंग डिफरेंट पार्ट्स इंडिपेंडेंट

play11:53

एंड इजियर टू मैनेज कैन यू प्रोवाइड

play11:55

एग्जांपल्स ऑफ़ व्हेन टू यूज़ एन इंटरफेस

play11:57

वर्सेस व्हेन टू एक्सटेंड अ क्लास यूज़ एन

play11:59

इंटरफेस व्हेन वी वांट टू लिस्ट द मेथड्स

play12:01

अ क्लास शुड हैव विदाउट डिटेलिंग हाउ दे

play12:04

वर्क यूज़ क्लास एक्सटेंशंस व्हेन वी वांट

play12:07

अ न्यू क्लास टू इन्हेरिटेंस एंड

play12:09

बिहेवियर्स फ्रॉम एन एक्जिस्टिंग क्लास

play12:11

एंड पॉसिबली मॉडिफाई देम हाउ डू यू यूज़

play12:13

मल्टीपल इन्हेरिटेंस इन जावा यूजिंग

play12:14

इंटरफेस इन जावा वी कैन नॉट इन्हेरिटेंस

play12:17

फ्रॉम मल्टीपल क्लासेस डायरेक्टली बट वी

play12:19

कैन यूज़ इंटरफेस फॉर अ सिमिलर इफ़ेक्ट अ

play12:22

क्लास कैन फॉलो द गाइडलाइंस ऑफ़ मेन

play12:24

इंटरफेस एट वंस व्हिच लेट्स इट कंबाइन

play12:26

मेनी सेट्स ऑफ़ कैपेबिलिटीज कैनन इंटरफेस

play12:29

इन जावा कंटन स्टैटिक मेथड एंड इफ सो हाउ

play12:31

कैन दे बी यूज यस इंटरफेस इन जावा कैन हैव

play12:34

स्टैटिक मेथड्स व्हिच वी कैन यूज़ विदाउट

play12:37

क्रिएटिंग एन इंस्टेंस ऑफ़ द क्लास हाउ एन

play12:39

कैपसलाइव

play12:40

सिक्यूरिटी एंड इंटीग्रिटी एन कैपसलाइव

play12:43

इंपोर्टेंट डाटा हिडन एंड सेव इट ओनली

play12:46

लेट्स सर्टेन पार्ट्स ऑफ़ अवर प्रोग्राम

play12:48

यूज़ दिस डाटा व्हिच हेल्प्स प्रिवेंट

play12:50

मिस्टेक्स एंड कीप्स द डेटा सिक्योर फ्रॉम

play12:52

अनवांटेड चेंजेज हाउ डज द जावा कंपाइलर

play12:54

डिटरमिन व्हिच ओवरलोडेड मेथड टू कॉल व्हेन

play12:57

वी कॉल एन ओवरलोडेड मेथड द जावा कंपाइलर

play12:59

लुक्स एट द नंबर एंड द टाइप ऑफ़ आर्गुमेंट

play13:02

वी हैव प्रोवाइडेड एंड पिक्स द मेथड दैट

play13:04

मैचेस दीज आर्गुमेंट बेस्ट इज इट पॉसिबल

play13:07

टू ओवरलोड मेथड्स दैट डिफर ओनली बाय दे

play13:09

रिटर्न टाइप इन जावा इन जावा वी कैन नॉट

play13:11

ओवरलोड मेथड जस्ट बाय चेंजिंग दे रिटर्न

play13:13

टाइप दीज मेथड्स मस्ट डिफर बाय देयर

play13:15

पैरामीटर्स फॉर ओवरलोडिंग टू बी वैलिड

play13:18

व्हाट आर द रूल्स फॉर मेथड ओवरलोडिंग इन

play13:20

जावा द पैरामीटर्स मस्ट डिफर इन हाउ मेनी

play13:22

दे आर व्हाट टाइप दे आर और द ऑर्डर दे आर

play13:26

इन व्हाट आर द रूल्स एंड कंडीशंस फॉर मेथड

play13:28

ओवरराइडिंग इन जावा इन जावा मेथड

play13:30

ओवरराइडिंग अकर्स व्हेन अ सबक्लास हैज अ

play13:32

मेथड विद द सेम नेम रिटर्न टाइप एंड

play13:35

पैरामीटर्स एज वन इन इट्स पैरेंट क्लास द

play13:38

मेथड इन द सबक्लास रिप्लेस द वन इन द

play13:40

पैरेंट क्लास व्हेन कॉल्ड हाउ डज द

play13:43

ओवरराइड नोटेशन इन्फ्लुएंस मेथड

play13:45

ओवरराइडिंग द ओवरराइड एनोट टेल्स द

play13:47

कंपाइलर दैट द मेथड इज सपोज्ड टू रिप्लेस

play13:49

वन फ्रॉम इट्स सुपर क्लास इट्स यूज़फुल

play13:51

बिकॉज़ इट हेल्प्स फाइंड मिस्टेक्स इफ द

play13:53

मेथड डज नॉट एक्चुअली ओवरराइड एन

play13:55

एसिस्टिंग मेथड फ्रॉम द पैरेंट क्लास

play13:57

व्हाट हैपेंस इफ अ सुपर क्लास मेथड इज ओवर

play14:00

रिटन बाय मोर दन वन सबक्लास इन जावा इफ

play14:02

डिफरेंट सबक्लासेस ओवरराइट द सेम मेथड्स

play14:04

फ्रॉम अ सुपर क्लास ईच सबक्लास विल हैव

play14:07

इट्स ओन वर्जन ऑफ़ दैट मेथड व्हाट हैपेंस

play14:09

इफ यू अटेंप्ट टू यूज़ अ सुपर कीवर्ड इन अ

play14:11

क्लास दैट डंट हैव अ सुपर क्लास इफ यी

play14:14

अटेंप्ट टू यूज़ अ सुपर कीवर्ड इन अ क्लास

play14:16

दैट डंट हैव अ सुपर क्लास अ कंपाइलेशन एरर

play14:19

अकर्स द सुपर कीवर्ड इज ओनली एप्लीकेबल

play14:21

विद इन द सुपर क्लासेस टू रिफर टू मेंबर्स

play14:24

ऑफ द सुपर क्लास कैन द दिस और सुपर कीवर्ड

play14:28

बी यूज इन स्टैटिक मेथड नो दिस एंड सुपर

play14:31

कीवर्ड कैन नॉट बी यूज इन स्टैटिक मेथड्स

play14:33

स्टैटिक मेथड्स बिलंग टू द क्लास नॉट

play14:36

इंस्टेंसस एंड सुपर रेफर्स टू द सुपर

play14:38

क्लासेस ऑब्जेक्ट्स कॉन्टेक्स्ट व्हिच डज

play14:40

नॉट एजिस्ट इन अ स्टैटिक कॉन्टेक्स्ट हाउ

play14:42

डज सुपर प्ले अ रोल इन पॉलीमोर्फस ज्म इन

play14:45

जावा द सुपर कीवर्ड लेट्स अ सबक्लास यूज़

play14:47

मेथड्स फ्रॉम इट्स पैरेंट क्लास हेल्पिंग

play14:49

इट बिहेव इन डिफरेंट वेज एंड दैट इज़

play14:52

नथिंग बट अ पॉलीमोर्फस बिहेवियर कैन अ

play14:54

स्टैटिक ब्लॉक थ्रो एन एक्सेप्शन यस अ

play14:56

स्टैटिक ब्लॉक कैन थ्रो एन एक्सेप्शन बट

play14:59

इफ इट डज द एक्सेप्शन मस्ट बी हैंडल्ड विद

play15:01

इन द ब्लॉक इट सेल्फ और डिक्लेयर्ड यूजिंग

play15:03

अ थ्रोज क्लोज इन द क्लास कैन वी ओवरराइट

play15:06

सेटिंग मेथड्स इन जावा नो स्टैटिक मेथड्स

play15:08

कैन नॉट बी ओवररेटेड इन जावा बिकॉज़ मेथड

play15:11

ओवरराइडिंग इज बेस्ड ऑन डायनेमिक बाइंडिंग

play15:13

एट रन टाइम एंड स्टैटिक मेथड्स आर बाउंड

play15:15

एट कंपाइल टाइम कैन वी प्रिंट समथिंग ऑन

play15:17

कंसोल विदाउट द मेन मेथड इन जावा प्रायर

play15:20

टू जावा 8 यस वी कैन प्रिंट समथिंग विदाउट

play15:22

मेन मेथड बट इट्स नॉट पॉसिबल फ्रॉम जावा 8

play15:25

ऑन वर्ड्स व्हाट आर सम कॉमन यूज केस फॉर

play15:28

यूजिंग फाइन वेरिएबल इन जावा प्रोग्रामिंग

play15:30

कॉमन यूज केस फॉर यूजिंग फाइनल वेरिएबल इन

play15:32

जावा प्रोग्रामिंग इंक्लूड्स डिफाइनिंग

play15:34

कांस्टेंट्स पैरामीटर्स पास टू मेथड्स एंड

play15:36

लोकल वेरिएबल इन लाडज और एनोनिमस इनर

play15:39

क्लासेस हाउ डज द फाइनल कीवर्ड

play15:41

कंट्रीब्यूट टू इमट बिलिटी एंड थ्रेड

play15:43

सेफ्टी इन जावा द फाइनल कीवर्ड

play15:45

कंट्रीब्यूट्स टटू इमिटेबिलिटी एंड थ्रेड

play15:47

सेफ्टी इन जावा बाय

play15:51

इंश्योरिटी अन इंटेंडेड मॉडिफिकेशन एंड

play15:54

पोटेंशियल कॉन्करेंस इश्यूज कैन अ फंक्शनल

play15:57

इंटरफेस एक्सटेंड अनदर इंटरफेस नो एज

play16:00

फंक्शनल इंटरफेस अलाउ टू हैव ओनली सिंगल

play16:02

एब्स्ट्रेक्ट मेथड हाउ एवर फंक्शनल

play16:04

इंटरफेस कैन इन्हेरिटेंस इफ इट कंटेंस

play16:07

ओनली अ स्टैटिक एंड डिफॉल्ट मेथड्स इन इट

play16:09

नेम ऑफ द एल्गोरिथम यूज बाय . s एंड

play16:12

कलेक्शन s . s यूज अ डुअल पाइवट क्विक

play16:16

सॉर्ट एल्गोरिथम फॉर प्रिमिटिव टाइप्स एंड

play16:18

टम सर्ट फॉर ऑब्जेक्ट अरेज कलेक्शन ड सर्ट

play16:21

यूज टम सर्ट अ हाइब्रिड सर्टिंग एल्गोरिथम

play16:23

कंबाइनिंग मर्ज सॉर्ट एंड इंसर्ट सॉर्ट

play16:25

कैन यू गिव एन एग्जांपल वेयर अ ट्रीसेट इज

play16:27

मोर एप्रोप्रियेट अ ट्रीसेट इज मोर

play16:41

एप्रोप्राइटिंग ऑफ हैश मैप इन जावा अ हैश

play16:44

मैप इन जावा स्टोर्स की वैल्यू पेयर्स इन

play16:46

एन एरे वेयर ईच एलिमेंट इज अ बकेट इट यूज

play16:49

अ हैश फंक्शन टू डिटरमाइंड व्हिच बकेट अ

play16:51

की शुड गो इनटू फॉर एफिशिएंट डेटा रिट्रीव

play16:54

इफ टू कीज एंड अप इन द सेम बकेट अ कॉलेजन

play16:57

हैपन देन द हैश मैप मैनेस दिस कोलिजन बाय

play17:00

मेंटे निंग अ लिंक लिस्ट और अ बैलेंस ी

play17:02

डिपेंड अपऑन द जावा वर्जंस इन ईच बकेट

play17:05

व्हाट हैपेंस व्हेन टू कीज हैव द सेम हैश

play17:08

कोड इफ टू कीज हैव द सेम हैश कोड दे एंड

play17:10

अप इन द सेम बकेट इन द हैश मैप द कीज आर

play17:14

देन लिंक टुगेदर इन अ लिस्ट इनसाइड द बक

play17:16

टू मैनेज देम कैन यू प्लीज टेल मी व्हाट

play17:18

चेंजेज वेर डन फॉर द हैश मैप इन जावा 8

play17:21

बिकॉज़ बिफोर जावा 8 हैश m बिहेव्ड

play17:23

डिफरेंटली बिफोर जावा 8 है मैप डील्ट विद

play17:27

कजंस बाय यूजिंग अ सिंपल लिंक लिस्ट

play17:29

स्टार्टिंग फ्रॉम जावा 8 व्हेन टू मेनी

play17:31

आइटम्स एंड अप इन द सेम बकेट द लिस्ट

play17:33

टर्न्स इनटू अ बैलेंस ट्री व्हिच हेल्प्स

play17:36

स्पीड अप सर्चिंग हाउ डज कॉन्करेंट हैश

play17:38

मैप इंप्रूव परफॉर्मेंस इन अ मल्टी

play17:40

थ्रेडेड एनवायरमेंट कॉन्करेंट हैश मैप

play17:42

बूस्ट परफॉर्मेंस इन अ मल्टी थ्रेडेड

play17:44

सेटिंग्स बाय लेटिंग डिफरेंट थ्रेड एक्सेस

play17:46

एंड मॉडिफाई डिफरेंट पार्ट्स ऑफ़ द मैप

play17:48

साइमल नियस रिड्यूजिंग वेटिंग टाइम्स एंड

play17:50

इंप्रूविंग एफिशिएंटली हाउ कैन डिजाइन

play17:53

पैटर्स अफेक्ट द परफॉर्मेंस ऑफ़ अ जावा

play17:55

एप्लीकेशन डिज़ाइन पैटर्स कैन इंपैक्ट

play17:57

परफॉर्मेंस बाय एडिंग कॉम्प्लेक्शन बट दे

play18:00

इंप्रूव सिस्टम आर्किटेक्चर एंड

play18:03

मेंटेनेबिलिटी द लॉन्ग टर्म बेनिफिट्स

play18:05

ऑफें आउट वेट द इनिशियल परफॉर्मेंस कॉस्ट

play18:08

व्हिच डिज़ाइन पैटर्न वुड यू यूज़ टू

play18:09

मैनेज डेटाबेस कनेक्शन एफिशिएंटली इन अ

play18:11

जावा एप्लीकेशन द सिंगल टन पैटर्न इज

play18:13

कॉमनली यूज टू मैनेज डेटाबेस कनेक्शंस

play18:15

इंश्योरिटी शेयर्ड कनेक्शन इंस्टेंस इज

play18:18

रीयूज एफिशिएंटली हाउ वुड यू हैंडल अ

play18:20

सिनेरियो वेयर टू थ्रेड्स नीड टू अपडेट द

play18:22

सेम डेटा स्ट्रक्चर यूज़ सिंक्रोनाइज

play18:25

ब्लॉक्स और मेथड्स टू एं श्योर दैट द ओनली

play18:27

वन थ्रेड कैन एक्सेस द डेटा स्ट्रक्चर एट

play18:29

अ टाइम प्रीवेंटिंग कॉन्करेंट मॉडिफिकेशन

play18:31

इश्यूज कैन वी स्टार्ट थ्रेड ट् वाइस नो अ

play18:34

थ्रेड इन जावा कैन नॉट बी स्टार्टेड मोर

play18:36

दन वंस अटेम्प्टिंग टू रीस्टार्ट अ थ्रेड

play18:39

दैट हैज ऑलरेडी रन विल थ्रो एन इल्लीगल

play18:41

थ्रेड स्टेट एक्सेप्शन कैन वी क्रिएट अ

play18:43

सर्वर इन जावा एप्लीकेशन विदाउट क्रिएटिंग

play18:45

स्प्रिंग और एनी अदर फ्रेमवर्क यस वी कैन

play18:48

क्रिएट अ सर्वर इन जावा एप्लीकेशन यूजिंग

play18:50

ओनली जावा एसई एपीआई सच एज बाय

play18:52

यूटिलाइजिंग द सर्वर सॉकेट क्लास फॉर अ

play18:54

सिंपल टीसीपी सर्वर और द एटीटीपी सर्वर

play18:57

क्लास फॉर द एटीटीपी सर्विस it's

Rate This

5.0 / 5 (0 votes)

Étiquettes Connexes
Java InterviewException HandlingPerformance TipsCoding PracticesConcurrencyGarbage CollectionObject-OrientedMemory ManagementInterview PreparationSoftware Development
Besoin d'un résumé en anglais ?