i
Kiwi Commerce
Filter interviews by
Magento 2 is the newer version of the e-commerce platform with improved performance, scalability, and user experience.
Magento 2 has improved performance and scalability compared to Magento 1.
Magento 2 has a more user-friendly admin panel with better navigation.
Magento 2 has a new file structure and coding standards for developers.
Magento 2 supports PHP 7 and has better security features.
Magento 2 has improved checkout ...
Top trending discussions
Asking the dp and tree and other
Curd operation with SQL connectivity
I applied via Naukri.com and was interviewed in Jul 2023. There were 3 interview rounds.
Arthamatic and reasoning
I applied via Job Fair and was interviewed in Jun 2023. There were 3 interview rounds.
Ms office,Core Java , Tally , C,
In my Opinion,view , If you ask me, As far as I can see/I am Concerned , It seems to me that , I think /feel/reckon/ belive , If you want my option , What we have to decide
I applied via campus placement at CDAC, Noida and was interviewed in Jan 2022. There were 4 interview rounds.
Best way to prefer java, core java and most imp spring boot because many of companies required spring boot now a days
Path variable is used to locate executable files while classpath variable is used to locate Java classes.
Path variable is used by the operating system to locate executable files.
Classpath variable is used by Java to locate classes and resources.
Path variable is system-specific while classpath variable is Java-specific.
Path variable is set by the user while classpath variable is set by the developer.
Example of path vari...
Enum is a special data type in Java used to define a set of constants.
Enums are used to represent a fixed number of values that do not change.
They are declared using the enum keyword.
Each enum constant is an object of the enum type.
Enums can have constructors, methods, and fields.
Example: enum Color { RED, GREEN, BLUE }
Enums can also have values associated with them, like Color.RED(255, 0, 0).
2 phase commit is a protocol used to ensure distributed transactions are either committed or rolled back.
Used in distributed systems where multiple databases are involved in a transaction
Ensures all databases either commit or rollback the transaction
Involves a coordinator and multiple participants
Coordinator sends a prepare message to participants, who respond with either commit or abort
If all participants respond with...
Yes, Java is completely object oriented.
Java is designed to be completely object oriented.
All code in Java is written inside classes and objects.
Java supports encapsulation, inheritance, and polymorphism.
Java does have some non-object oriented features like primitive data types.
However, even these can be treated as objects using wrapper classes.
Exception is an event that occurs during the execution of a program and disrupts the normal flow of instructions.
Exceptions are objects that are thrown at runtime when an abnormal condition occurs
Java provides a set of predefined exceptions that can be used to handle errors
Exceptions can be caught and handled using try-catch blocks
Unchecked exceptions are those that are not checked at compile-time, while checked except
I applied via Walk-in
General knowledge ,appitude
I applied via Naukri.com and was interviewed in Apr 2021. There was 1 interview round.
finally is used to execute a block of code after try-catch block, while static block is executed when class is loaded.
finally block is used to perform cleanup operations like closing database connections, file streams etc.
static block is used to initialize static variables or perform any other static initialization.
finally block is always executed whether an exception is thrown or not, while static block is executed on...
The @Autowired annotation in Spring is used to automatically wire dependencies into a bean.
It eliminates the need for manual wiring of dependencies
It can be used to inject dependencies into constructors, fields, and methods
It can be used with other annotations like @Qualifier and @Value
It can be used with both XML and Java-based configurations
To make a class immutable in Java, we need to follow certain guidelines.
Make the class final
Make all fields private and final
Do not provide setter methods
If the field is mutable, return a clone of it instead of the original object
Ensure that any mutable objects passed to the constructor are not modified outside the class
Collections are data structures that store and manipulate groups of objects.
Collections provide a way to manage and manipulate groups of objects
Java provides several built-in collection classes such as ArrayList, LinkedList, HashSet, etc.
Collections can be used to perform operations like searching, sorting, filtering, etc.
Collections can store objects of any type, including primitive types and user-defined classes
ArrayList and Vector are similar but Vector is synchronized while HashMap and HashTable are both key-value pair data structures but HashTable is synchronized.
ArrayList and Vector both implement List interface but Vector is thread-safe while ArrayList is not.
Vector is slower than ArrayList due to synchronization.
HashMap and HashTable both store key-value pairs but HashTable is thread-safe while HashMap is not.
HashMap al...
Rest Api is a web service that uses HTTP methods to access and manipulate data.
Rest stands for Representational State Transfer
It is an architectural style for building web services
Uses HTTP methods like GET, POST, PUT, DELETE
Data is transferred in JSON or XML format
Examples: Twitter API, Facebook Graph API
Program to add numbers in harmonic series (1+1/2+1/3+...+1/n)
Create a variable to store the sum
Use a loop to iterate through the series up to n
Add each term to the sum
Print the sum
I applied via Company Website and was interviewed in Dec 2020. There were 3 interview rounds.
System.out.println is a Java statement used to print output to the console.
System is a class in Java's core library.
out is a static member of the System class.
println is a method of the PrintStream class.
It is used to print output to the console.
It adds a newline character at the end of the output.
Static or final method is a method that belongs to a class rather than an instance of the class.
Static method can be called without creating an instance of the class.
Final method cannot be overridden by a subclass.
Static and final methods can be accessed using the class name.
Example: Math.max() is a static method in the Math class.
Example: String.toUpperCase() is a final method in the String class.
A collection is a group of objects that can be stored, manipulated, and retrieved as a single unit.
Collections are used to store and manage groups of related objects.
Java provides several built-in collection classes such as ArrayList, LinkedList, HashSet, etc.
Collections can be used to perform operations like sorting, searching, filtering, and more.
Collections can be generic or non-generic, depending on the type of obj
Yes, we can add string or integer value using map in Java.
We can use put() method to add values to a map.
For string values, we can use String as the value type.
For integer values, we can use Integer as the value type.
Example: Map
Example: Map
Sleep method pauses the thread for a specified time, while wait method pauses the thread until notified.
Sleep method is a static method of Thread class, while wait method is an instance method of Object class.
Sleep method does not release the lock on the object, while wait method releases the lock and waits for notification.
Sleep method can be interrupted by another thread, while wait method can only be interrupted by ...
Join in SQL is used to combine rows from two or more tables based on a related column between them.
Join is used to retrieve data from multiple tables in a single query
Types of join include inner join, left join, right join, and full outer join
Join condition is specified using ON keyword
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Join can also be used with subqueries
SQL queries are used to retrieve, manipulate and manage data stored in relational databases.
SQL stands for Structured Query Language
Queries can be used to retrieve specific data from tables
Queries can also be used to update, insert or delete data
Examples of SQL queries include SELECT, INSERT, UPDATE and DELETE
Understanding SQL is important for working with databases in Java
Abstraction is a concept of hiding implementation details while interface is a contract that defines the behavior of a class.
Abstraction is achieved through abstract classes and methods
Interface is a collection of abstract methods and constants
Abstraction allows for flexibility in implementation
Interface allows for multiple inheritance
Abstraction is used for code reusability
Interface is used for achieving polymorphism
Overloading is when multiple methods have the same name but different parameters. Overriding is when a subclass provides a different implementation of a method inherited from its superclass.
Overloading is resolved at compile-time based on the method signature.
Overriding is resolved at runtime based on the actual object type.
Overloading is used to provide different ways to call a method with different parameters.
Overrid...
based on 1 review
Rating in categories
TCS
Accenture
Wipro
Cognizant