Sir ...Maine spring security ke Kai sare vidio dekhe but muze samj me nhi aaya ki...how spring security work and how code flow means front end (React js) to backend .. Plz make video on spring security for beginners... And thank you for making such a interactive, interesting video for us... Love your teaching style and voice...love from Beed Maharashtra.
@sumant200011 ай бұрын
You are correct; you can instantiate an interface by creating an anonymous class that implements the interface. Here's an example: ```java public interface MyInterface { void myMethod(); } public class Main { public static void main(String[] args) { MyInterface instance = new MyInterface() { @Override public void myMethod() { System.out.println("Anonymous class implementing MyInterface"); } }; instance.myMethod(); } } ``` In the code above, we create an anonymous class that implements the `MyInterface` interface and provides a concrete implementation of the `myMethod` method. We then create an instance of this anonymous class and call the `myMethod` method on it. So, while you cannot directly instantiate an interface, you can achieve it indirectly by creating an anonymous class that implements the interface and instantiating that class.
@tanulakhwani Жыл бұрын
Try with resources are used only with resources like db connections and file handling.
@todaylive30295 ай бұрын
Jvm is built in c++
@Wisdomizer Жыл бұрын
🤯 Method is NOT a polymorphism convinsed, ... Sir please take care ...
@tataapparao7935 Жыл бұрын
What we can use instead of finalize
@chanduyagnesh5501 Жыл бұрын
for freshers how you do interview means what you except from them
@vamsikrishnasarukolla1136 Жыл бұрын
Sir Is there any pdf for java interview questions?
@atikkhochikar_5352 Жыл бұрын
Great stream
@Wisdomizer Жыл бұрын
What do tou think overriding is a polymorphism or not ?
@Deepusingh-ct6kx Жыл бұрын
Polymorphism
@teacup1431 Жыл бұрын
❤
@chanduyagnesh5501 Жыл бұрын
Sir,can we call a method without knowing the method name,how?