We can instanceof keyword to check if an object belongs to the same class or not.
Read More
- Association
- What are different states in lifecycle of Thread?
- Single Responsibility Principle (SRP)
- CSS Attribute Selectors
- What is Class and Object in OOPs?
- Java 8 Introduction
- Singleton Design Pattern
- HTML Iframes
- CSS Backgrounds
- HTML Style Guide
- How can we create a Thread in Java?
- What are Wrapper classes?
- Explain the purpose of static methods and static variables in Java.
- HTML Elements
- CSS Padding
- HTML Lists
- Explain how you can exclude dependency?
- List out the dependency scopes in Maven
- Polymorphism
- Keep It Simple and Stupid (KISS) Principle