Torry Harris Integration Solutions
10+ Navin Group (safal Logistics Llp) Interview Questions and Answers
Q1. Program to split the two strings
Program to split two strings into an array of strings
Use the split() method to split the strings
Specify the delimiter to split the strings
Store the split strings in an array
Q2. Why this() is used in java
this() is used in Java to call a constructor of the same class.
this() can be used to call a constructor with default arguments.
It can also be used to call a constructor with specific arguments.
this() must be the first statement in a constructor.
It can only be used inside a constructor.
Example: public MyClass(int x) { this(x, 0); }
Example: public MyClass(int x, int y) { this.x = x; this.y = y; }
Q3. All concepts in oops
Object-oriented programming concepts including encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: bundling data and methods that operate on that data within a single unit
Inheritance: creating new classes from existing ones, inheriting their properties and methods
Polymorphism: ability of objects to take on multiple forms, often achieved through method overriding
Abstraction: hiding implementation details and only exposing necessary information to users
Q4. Call by reference vs call by value
Call by reference passes the address of the variable while call by value passes the value itself.
Call by reference allows the function to modify the original variable
Call by value creates a copy of the variable for the function to use
Call by reference is more memory efficient for large data types
Call by value is safer as it prevents unintended changes to the original variable
Q5. Disadvantages of wfh compared to wfo.
WFH lacks social interaction, may lead to distractions and lack of work-life balance.
Lack of face-to-face interaction with colleagues and managers
Difficulty in separating work and personal life
Potential for distractions at home
Limited access to office resources and equipment
May lead to feelings of isolation and loneliness
Q6. Latest news about information technology.
The latest news in information technology includes advancements in artificial intelligence, cybersecurity, and cloud computing.
Artificial intelligence continues to be a major focus, with developments in machine learning and natural language processing.
Cybersecurity remains a critical concern, with an increase in cyber attacks and the need for stronger defense mechanisms.
Cloud computing is evolving rapidly, with a shift towards hybrid and multi-cloud environments for improved ...read more
Q7. Garbage collection in java
Garbage collection is an automatic memory management process in Java.
Garbage collection frees up memory by removing objects that are no longer in use.
Java uses a mark-and-sweep algorithm to identify and remove unused objects.
The System.gc() method can be used to suggest garbage collection, but it is not guaranteed to run immediately.
Garbage collection can impact performance, so it is important to optimize code to minimize unnecessary object creation.
Q8. Any idea on git
Git is a version control system used for tracking changes in code and collaborating with others.
Git allows for branching and merging of code
It tracks changes made to code over time
It allows for collaboration with others on the same codebase
Git can be used for both personal and professional projects
Q9. Structure vs union
Structures and unions are used to group related data members in a program.
Structures are used to group related data members of different data types.
Unions are used to group related data members of the same data type.
Structures allocate memory for each data member, while unions allocate memory for the largest data member.
Structures are used when all data members need to be accessed separately, while unions are used when only one data member needs to be accessed at a time.
Q10. Oops concept in java
Oops concept in Java
Object-oriented programming paradigm
Encapsulation, Inheritance, Polymorphism, Abstraction
Classes and Objects
Access Modifiers
Interfaces and Abstract Classes
Top HR Questions asked in Navin Group (safal Logistics Llp)
Interview Process at Navin Group (safal Logistics Llp)
Top Associate Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month