Signiwis Technologies
Caring with Colour-A Manasi Kirloskar Initiative Interview Questions and Answers
Q1. What is marker interface
A marker interface is an empty interface that marks a class as having a particular property or behavior.
Marker interfaces do not have any methods or properties.
They are used to provide metadata to the compiler or runtime environment.
Examples include Serializable, Cloneable, and Remote interfaces in Java.
Marker interfaces can also be used to indicate that a class belongs to a certain group or category.
Q2. What is meta tag? What is position What promise What is callback What is pseudo element and pseudo class
Meta tag is an HTML tag that provides metadata about a web page.
Meta tags are placed in the head section of an HTML document.
They provide information about the page such as keywords, description, author, etc.
Position refers to the location of an element on a web page.
Promise is a JavaScript object that represents the eventual completion or failure of an asynchronous operation.
Callback is a function that is passed as an argument to another function and is executed after its pa...read more
Q3. What is functional interface
Functional interface is a type of interface in Java that contains only one abstract method.
Functional interface can have any number of default or static methods.
It is used for implementing lambda expressions and functional programming in Java.
Examples of functional interfaces include Runnable, Comparator, and Callable.
Functional interface can be annotated with @FunctionalInterface annotation to ensure it contains only one abstract method.
Q4. what's is java and features of java
Java is a high-level programming language known for its platform independence and object-oriented features.
Platform independence - Java programs can run on any platform that has a Java Virtual Machine (JVM)
Object-oriented - Java supports the principles of encapsulation, inheritance, and polymorphism
Robust - Java has strong memory management, exception handling, and type safety
Secure - Java has built-in security features to protect against viruses and malware
Multithreaded - Ja...read more
Q5. what is abstraction and describe
Abstraction is the concept of hiding complex details and showing only the essential features of an object or system.
Abstraction allows developers to focus on what an object does rather than how it does it
It helps in reducing complexity and improving efficiency in software development
For example, in object-oriented programming, abstract classes and interfaces are used to define common behaviors without specifying implementation details
Q6. Tell me something about Bangalore
Bangalore is known as the Silicon Valley of India, with a vibrant tech industry and pleasant weather.
Hub for IT companies and startups
Known for its pleasant weather throughout the year
Home to prestigious educational institutions like IISc and IIMB
Famous for its gardens and parks, such as Lalbagh and Cubbon Park
Q7. Method overloading vs method overriding
Method overloading is having multiple methods in the same class with the same name but different parameters. Method overriding is having a method in a subclass with the same name and parameters as a method in its superclass.
Method overloading is achieved within the same class by having multiple methods with the same name but different parameters.
Method overriding occurs in a subclass when a method has the same name and parameters as a method in its superclass.
Method overloadi...read more
Q8. What polymorphism
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Animal class with methods like eat() can be inherited by Dog and Cat classes which can override the eat() method.
Q9. Abstraction vs interface
Abstraction focuses on hiding implementation details, while interface defines a contract for classes to implement.
Abstraction allows for hiding complex implementation details from the user.
Interface defines a contract that classes must follow, but does not provide implementation details.
Abstraction can be achieved through abstract classes and interfaces in object-oriented programming.
Example: Abstract class 'Shape' with abstract method 'calculateArea' can be extended by 'Circ...read more
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month