i
Astrea IT Services
Filter interviews by
I was interviewed in Dec 2016.
The main OOPs concepts are encapsulation, inheritance, and polymorphism.
Encapsulation: bundling of data and methods into a single unit (class) to hide implementation details.
Inheritance: ability of a class to inherit properties and methods from another class.
Polymorphism: ability of objects of different classes to be treated as objects of a common superclass.
Polymorphism is the ability of an object to take on many forms. Runtime polymorphism is achieved through method overriding.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Static polymorphism is achieved through method overloading.
Runtime polymorphism is determined at runtime based on the actual type of the object.
Static polymorphism is determined at compile-time based on...
The static keyword in Java is used to create variables and methods that belong to the class rather than instances of the class.
Static variables are stored in the static memory area, also known as the method area or permanent generation.
Static variables are shared among all instances of a class.
Static methods can be called without creating an instance of the class.
Static variables and methods can be accessed using the c...
The abstract keyword is used in object-oriented programming to declare a class or method as abstract.
An abstract class cannot be instantiated and can only be used as a base for other classes.
An abstract method is a method without a body, and it must be implemented by any concrete subclass.
Abstract classes can have both abstract and non-abstract methods.
Abstract methods are used to define a common interface that all sub...
Multiple inheritance is when a class inherits from more than one base class. Multilevel inheritance is when a class inherits from another derived class.
Multiple inheritance allows a class to inherit attributes and behaviors from multiple parent classes.
Multilevel inheritance involves a chain of inheritance where a derived class inherits from another derived class.
In multiple inheritance, conflicts may arise if two base...
Java implements multiple inheritance through interfaces.
Java does not support multiple inheritance of classes.
Instead, it allows multiple inheritance of interfaces.
A class can implement multiple interfaces, inheriting their methods and constants.
Interfaces provide a way to achieve multiple inheritance without the complexities of class inheritance.
Example: class A implements Interface1, Interface2 { ... }
An interface is a contract that defines a set of methods that a class must implement. It is not abstract.
An interface provides a way to achieve multiple inheritance in Java.
It allows for loose coupling between classes.
Interfaces can have constants and default methods.
A class can implement multiple interfaces.
Interfaces are used to achieve abstraction and provide a common behavior for classes.
String is immutable because it ensures data integrity and thread safety. StringBuffer and StringBuilder are mutable alternatives.
String is immutable, meaning its value cannot be changed once created.
Immutable strings ensure data integrity and thread safety.
StringBuffer and StringBuilder are mutable alternatives to String.
StringBuffer is synchronized and thread-safe, but slower.
StringBuilder is not synchronized, faster,...
The optimized solution to print prime numbers between 1 to n.
Start with a loop from 2 to n
For each number, check if it is divisible by any number from 2 to its square root
If it is not divisible by any number, it is a prime number and can be printed
Top trending discussions
posted on 27 Sep 2024
I applied via Walk-in and was interviewed in Aug 2024. There were 3 interview rounds.
Basically It is a list of 25 questions having mix of Resoning,Aptitude &English. Each Queztion carries 2 marks and also there was a plus point that it doesn't have any negative marks
posted on 9 Dec 2023
I applied via Campus Placement and was interviewed in Nov 2023. There were 3 interview rounds.
The company came on campus, and it was the very first round in which it was not a group discussion, more it was like an individual interview within a group of 10 people of my college, the interviewer asked question on Polymorphism, Inheritance and difference between class and structure and told everyone to not to speak same answer as the groupmate it was all live and was proctored.
I was the only Person out of sixty one students who were shortlisted for face to face interview in Noida add the company's office itself I reached there add two in the noon There was no receptionist I waited for like 57 minutes on the sofa I knocked the gate nobody answered it again knocked the gate there was a developer standing over I asked him to come out and I had a word with him and what the statement he gave me I was in shock he asked me why are you here and for what purpose you are here I was like bro is this for real I told him I had an interview scheduled and I came all the way from a particular place which is 280 kilometers one side from their office and I started 4 in the morning.
They gave me a coding question paper in which there were two questions number one was reverse a string and input sample input was Helo and we have to reverse that and the next question was of matrix in which the question was there is a matrix of M Cross N Rows you have to spiral traverse it in clockwise direction and output the elements in one day array form this was the question so I had to solve this I solved both the questions but the 1st 1 was absolutely easy I cleared it very easily and the second question it was little bit tricky and it was of medium level so I attempted it and 15 to 20% I made some logic and gave the paper to the HR that I am done with the paper you can give it to the concerned developer and After my paper got checked the developer came It was that developer only Whom I have mentioned in the very first paras he was from Bihar he came to me he told me Explain both the programs I explained him the first one very easily and I explained him the 2nd one program's approach as welI I did knew that it was not absolutely right but yeah I told him the approach that I used so he told me to explain me the very first program which was reversing of string without using the logic which I used the logic that I used was of slicing he said me that he told me that I don't have to use this logic And neither I have to use a direct function he told me you have to solve this program by a logic in which you don't have to define a new variable I was like I asked him questions back and forth for 5 to 7 minutes we had a discussion and I gave him the code in python he said no so I gave him the code in C++, in C++ when I used the loop so I have to initialize i that means I have initialized a new variable I gave him the paper I made my hands up I was like no sir I'm not able to do it if you can do it would be very appreciable so he took the pen and wrote the code and the funniest thing I found about that when he wrote the entire code he defined 3 new variables and I was like you told me not to do that and you're doing it by yourself and I asked the interviewer very politely sir you have defined 3 new variables so he told me no no no the question that I wanted to ask you that there should be low space complexity I was like what the heck bro he didn't ask me this question and to defend his answer he told me that we can erase these things these 3 things I was like if I would have done that you weren't allowing me to erase that and if you did then you can erase that bravo!!! well done this entire process was completed in less than 5 minutes then the HR came she told me we will intimate me the result through my WhatsApp but I asked her again she told me we will intimate you through WhatsApp and when I came out of the office I knew it because they didn't have my WhatsApp number I knew it so moral of the story is I wasted my 20 hours of single day because I traveled back to the same place from where I started I lost my 20 hours just for the sake of 5 minute interview and how on Earth you can judge a software developer trainee interviewe in less than 5 minutes.
posted on 21 Oct 2023
I applied via Naukri.com and was interviewed in Sep 2023. There were 3 interview rounds.
Yes, I have prior experience with Javascript.
I have worked on various projects using Javascript.
I am familiar with popular Javascript libraries and frameworks like React and Node.js.
I have experience in writing clean and efficient Javascript code.
I have used Javascript for both front-end and back-end development.
In the previous round, they give you a link to freecodecamp course - basic javascript.
In this round (Coding) every single question is asked from the exact same course, as is.
I applied via LinkedIn and was interviewed in Sep 2023. There were 4 interview rounds.
posted on 19 Dec 2024
I applied via Campus Placement and was interviewed in Nov 2024. There were 3 interview rounds.
C, C++, Java, Object-Oriented Programming (OOP), and aptitude questions.(online)
Two coding questions involve strings and arrays, specifically the buy and sell stock problem, followed by a focus on binary, and then another string-related question.
MySQL is a relational database management system, NoSQL is a non-relational database management system, and SQL is a query language used to interact with databases.
MySQL is a traditional relational database that uses structured query language (SQL) for querying and managing data.
NoSQL databases are non-relational and can handle unstructured data. They are more flexible and scalable than MySQL.
SQL is a language used to ...
This project is used for managing and tracking software development tasks and projects.
Helps in organizing tasks and deadlines
Allows team collaboration and communication
Tracks progress and milestones
Generates reports for project analysis
List of 10 HTML tags commonly used in web development
<html>
<head>
<title>
<body>
<div>
<p>
<a>
<img>
<ul>
<li>
Microservices offer scalability, flexibility, and easier maintenance in software development.
Scalability: Microservices allow for individual components to be scaled independently, leading to better resource utilization.
Flexibility: Each microservice can be developed, deployed, and updated independently, allowing for faster innovation and adaptation to changing requirements.
Easier maintenance: With smaller, more focused...
posted on 24 Aug 2023
I applied via Referral and was interviewed in Jul 2023. There were 3 interview rounds.
There was coding round in php of 5 questions and 3 to be attempted
posted on 15 Dec 2023
I applied via Campus Placement and was interviewed in Jun 2023. There were 2 interview rounds.
I applied via LinkedIn and was interviewed in Sep 2023. There were 5 interview rounds.
It was around 1 hour round abd having 4 questions.
I applied via Company Website and was interviewed in Jul 2023. There were 4 interview rounds.
Switch two variables in a string without using the third variable
Car Parking Management system
CSS is used to style and format web pages, making them visually appealing and user-friendly.
CSS is used to control the layout, colors, fonts, and overall appearance of a website.
It allows for consistent styling across multiple pages of a website.
CSS can be used to create responsive designs that adapt to different screen sizes.
It helps improve the user experience by making the website visually appealing and easy to navi...
PHP frameworks are tools that provide a structured way to build web applications using PHP.
Choose a PHP framework based on your project requirements and familiarity with the framework.
Follow the framework's documentation to understand its features and best practices.
Utilize the framework's built-in functions and libraries to streamline development.
Leverage the MVC (Model-View-Controller) architecture of the framework t...
Salesforce Developer
56
salaries
| ₹3 L/yr - ₹9.9 L/yr |
Software Developer
33
salaries
| ₹3.4 L/yr - ₹10.2 L/yr |
Senior Salesforce Developer
22
salaries
| ₹6 L/yr - ₹15.5 L/yr |
Senior Software Developer
14
salaries
| ₹6 L/yr - ₹13.2 L/yr |
Software Engineer
7
salaries
| ₹4.8 L/yr - ₹7 L/yr |
TCS
Infosys
Wipro
HCLTech