Infosys
30+ Planys Technologies Interview Questions and Answers
Q1. Does java use call by value or call be reference?
Java uses call by value.
Java passes a copy of the value of a variable to a method, not the actual variable itself.
Changes made to the parameter inside the method have no effect on the original variable.
However, if the parameter is an object reference, the reference is passed by value, so changes to the object itself will be reflected outside the method.
Q2. Why java language is platform-independent?
Java is platform-independent due to its bytecode and virtual machine architecture.
Java code is compiled into bytecode, which can run on any platform with a Java Virtual Machine (JVM).
JVM acts as an interpreter, translating bytecode into machine code specific to the platform it is running on.
This allows Java programs to be written once and run on any platform with a JVM installed.
For example, a Java program written on a Windows machine can run on a Linux machine without any mo...read more
Q3. Can instances of abstract class be created?
No, instances of abstract class cannot be created.
Abstract classes are incomplete and cannot be instantiated.
They are meant to be extended by subclasses that provide concrete implementations.
Abstract classes can have abstract methods that must be implemented by the subclass.
Example: abstract class Animal cannot be instantiated, but subclasses like Dog and Cat can be.
Q4. Tell me the different logic for swapping numbers.
Swapping numbers can be done using a temporary variable, arithmetic operations, or XOR bitwise operator.
Using a temporary variable: temp = a; a = b; b = temp;
Using arithmetic operations: a = a + b; b = a - b; a = a - b;
Using XOR bitwise operator: a = a ^ b; b = a ^ b; a = a ^ b;
Q5. What is Overloading and Overriding?
Overloading is using the same method name with different parameters. Overriding is replacing a method in a subclass.
Overloading is used to have multiple methods with the same name but different parameters.
Overriding is used to replace a method in a subclass with a new implementation.
Overloading is resolved at compile-time while overriding is resolved at runtime.
Example of overloading: public void print(int num) and public void print(String str)
Example of overriding: public cl...read more
Q6. what are inheritance and polymorphism?
Inheritance is a mechanism where a new class is derived from an existing class. Polymorphism is the ability of an object to take on many forms.
Inheritance allows for code reuse and promotes a hierarchical organization of code.
Polymorphism allows for flexibility in code design and enables objects to be used in multiple contexts.
Example of inheritance: A class 'Car' can be inherited by a class 'SUV' which adds additional features specific to SUVs.
Example of polymorphism: A clas...read more
Q7. What is the first line in coding
The first line in coding is typically the declaration of the programming language being used.
The first line is also known as the 'shebang' or 'hashbang' line.
It specifies the interpreter or compiler to be used for the code.
For example, in Python, the first line would be '#!/usr/bin/env python'.
Q8. Why doesn't java support pointers?
Java doesn't support pointers for safety and security reasons.
Java uses references instead of pointers to avoid memory leaks and null pointer exceptions.
Pointers can be used to access memory directly, which can be a security risk.
Java's garbage collector manages memory automatically, making pointers unnecessary.
Java's design philosophy prioritizes safety and security over low-level control.
Pointers can also make code more difficult to read and maintain.
Q9. Currently on Which language you are working on?
I am currently working on Python.
I have experience in developing automation scripts using Python.
I have also worked on building web applications using Django framework.
I am familiar with data analysis and visualization using Python libraries like Pandas and Matplotlib.
Q10. Any touch in ms excel,ms powerpoint
Yes, I have experience with MS Excel and MS PowerPoint.
Proficient in creating and managing spreadsheets in MS Excel
Skilled in using formulas, functions, and data analysis tools in Excel
Experienced in creating professional presentations in MS PowerPoint
Knowledgeable in using slide layouts, animations, and transitions
Familiar with creating charts, graphs, and visual representations of data
Q11. Can you explain about #include stdio.h
The #include stdio.h is a preprocessor directive that includes the standard input/output library in C programming language.
stdio.h stands for standard input/output header file.
It contains functions like printf() and scanf() for input/output operations.
It is included at the beginning of a C program using #include directive.
It allows the program to use the standard input/output functions without having to write them from scratch.
Example: #include
int main() { printf("Hello, Wo...read more
Q12. What do you mean by the word 'INNOVATIVE'?
Being innovative means introducing new ideas, methods, or products that bring about positive change and improvement.
Innovation involves thinking creatively and outside the box.
It is about finding new solutions to problems or improving existing ones.
Innovation can be seen in the development of new technologies, processes, or business models.
It often involves taking risks and embracing change.
Examples of innovation include the invention of the smartphone, the introduction of on...read more
Q13. Introduction What is Java What is DBMS What is SQL
Java is a programming language used for developing applications. DBMS is a software used for managing databases. SQL is a language used for managing data in DBMS.
Java is an object-oriented language used for developing desktop, web, and mobile applications.
DBMS is a software used for creating, managing, and manipulating databases.
SQL is a language used for querying and manipulating data in DBMS.
Java can be used to connect to DBMS and perform operations on databases using SQL.
P...read more
Q14. Show me your identycard
I don't have my identity card with me at the moment.
I apologize for not having my identity card with me.
I can provide a copy of my identity card at a later time.
I can provide other forms of identification if needed.
Q15. Why c is the mother of all other languages?
C is considered the mother of all other languages due to its influence on modern programming languages.
C was developed in the 1970s and was the first high-level programming language to be widely used.
Many modern programming languages, such as Java, Python, and C++, were influenced by C.
C is known for its efficiency, portability, and low-level memory manipulation capabilities.
C is still widely used today in operating systems, embedded systems, and other applications.
C's influe...read more
Q16. What are the fundamental rights
Fundamental rights are basic human rights that are essential for the development and well-being of individuals.
Fundamental rights are enshrined in the constitution of a country
They include rights such as freedom of speech, religion, and assembly
They also include the right to life, liberty, and security of person
Examples of fundamental rights include the First Amendment in the US Constitution and the Universal Declaration of Human Rights
Violation of fundamental rights can lead...read more
Q17. What is jvm and how it works?
JVM stands for Java Virtual Machine. It is an abstract machine that enables a computer to run Java programs.
JVM is responsible for interpreting the compiled Java code and executing it on the computer.
It provides a platform-independent environment for Java programs to run on different operating systems.
JVM has various components like class loader, bytecode verifier, interpreter, and just-in-time compiler.
Class loader loads the Java class files into the memory, bytecode verifie...read more
Q18. Why python is much more convenient?
Python is more convenient due to its simplicity, versatility, and vast community support.
Python has a simple and easy-to-learn syntax, making it accessible to beginners.
Python is versatile and can be used for a wide range of applications, from web development to data analysis.
Python has a vast community of developers who contribute to its libraries and frameworks, making it easier to find solutions to problems.
Python has a large number of libraries and frameworks that can be ...read more
Q19. What is the difference between c and c++
C++ is an extension of C with object-oriented programming features.
C++ supports classes and objects while C does not.
C++ has better support for polymorphism and inheritance.
C++ has a standard template library (STL) while C does not.
C++ allows function overloading while C does not.
C++ has exception handling while C does not.
Q20. How many types of Modifier?
There are two types of modifiers: adjectives and adverbs.
Adjectives modify nouns or pronouns, e.g. 'red apple', 'happy child'.
Adverbs modify verbs, adjectives, or other adverbs, e.g. 'quickly ran', 'very happy', 'extremely slowly'.
Q21. What is different between c and c++
C++ is an extension of C with object-oriented programming features.
C++ supports classes and objects while C does not.
C++ has better support for polymorphism and inheritance.
C++ has a standard template library (STL) for data structures and algorithms.
C++ allows function overloading while C does not.
C++ has exception handling while C does not.
Q22. Explain public and protected modifier?
Public and protected are access modifiers in object-oriented programming.
Public allows unrestricted access to a class member from any part of the program.
Protected allows access to a class member within the class and its subclasses.
Public members are accessible outside the class, while protected members are not.
Public members can be accessed by any object, while protected members can only be accessed by the class and its subclasses.
Public members are used for methods that nee...read more
Q23. What is software development cycle
Software development cycle is a process of designing, developing, testing, and deploying software.
It involves planning and analysis of requirements
Designing the software architecture and user interface
Coding and implementation of the software
Testing and debugging to ensure quality
Deployment and maintenance of the software
Examples include Agile, Waterfall, and DevOps methodologies
Q24. What is method overloading ?
Method overloading is a feature in object-oriented programming where a class can have multiple methods with the same name but different parameters.
Method overloading allows for more flexibility in programming by allowing methods with the same name to perform different tasks based on the parameters passed to them.
The methods must have different parameter lists, which can differ in the number, type, or order of parameters.
For example, a class may have two methods named 'calcula...read more
Q25. What are Concepts of OOPs?
OOPs concepts are the fundamental principles of Object-Oriented Programming.
Abstraction
Encapsulation
Inheritance
Polymorphism
Classes and Objects
Methods and Properties
Message Passing
Dynamic Binding
Q26. What is Normalization
Normalization is the process of organizing data in a database to reduce redundancy and dependency.
Normalization helps in improving data consistency and accuracy.
It involves breaking down a table into smaller tables and defining relationships between them.
Normalization is achieved through a series of normal forms, such as first normal form (1NF), second normal form (2NF), and so on.
Normalization can help in reducing data anomalies and improving database performance.
Example: A ...read more
Q27. Difference between DBMS and RDBMS
DBMS is a software system to manage databases while RDBMS is a type of DBMS that stores data in tables with relations.
DBMS stands for Database Management System while RDBMS stands for Relational Database Management System.
DBMS can manage any type of database while RDBMS is specifically designed to manage relational databases.
DBMS does not enforce any specific data model while RDBMS enforces the relational data model.
DBMS does not support ACID properties while RDBMS supports A...read more
Q28. What is database?
A database is a structured collection of data that is organized in a way that allows for easy access, management, and retrieval.
Database stores data in tables, with each table consisting of rows and columns.
It allows for efficient querying and retrieval of specific data.
Examples of databases include MySQL, Oracle, and MongoDB.
Q29. What are joins?
Joins are used in databases to combine rows from two or more tables based on a related column between them.
Joins are used to retrieve data from multiple tables based on a related column between them
Common types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Q30. Faurate place and Subject.
I'm sorry, but I don't understand the question. Could you please rephrase it?
Please provide more context or clarify the question.
Without additional information, I am unable to provide a relevant answer.
Could you please repeat the question or provide more details?
Q31. Building blocks of java
Building blocks of Java include variables, data types, operators, control structures, and classes.
Variables are used to store data
Data types define the type of data that can be stored in a variable
Operators are used to perform operations on data
Control structures are used to control the flow of a program
Classes are used to define objects and their behavior
Top HR Questions asked in Planys Technologies
Interview Process at Planys Technologies
Top Operations Executive Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month