i
Cloudkaptan Consultancy Services
Filter interviews by
Pillars of OOPs are four fundamental principles - Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
Polymorphism: Ability to present the same interface
There are two types of constructors in Java: default constructor and parameterized constructor.
Default constructor has no parameters and is automatically created by the compiler if no constructor is defined.
Parameterized constructor takes parameters and is used to initialize the object with specific values.
Sort array in descending order, find 2nd smallest number without using inbuilt function.
Iterate through the array and compare each element to find the smallest number.
Then iterate again to find the second smallest number.
Implement a sorting algorithm like bubble sort or selection sort to sort the array in descending order.
print() prints the output without moving to the next line, while println() prints the output and moves to the next line.
print() does not add a new line character at the end of the output
println() adds a new line character at the end of the output
Example: System.out.print("Hello"); // prints Hello without moving to the next line
Example: System.out.println("World"); // prints World and moves to the next line
Bubble sort repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. Selection sort selects the smallest element from the unsorted portion and swaps it with the first unsorted element.
Bubble sort has a time complexity of O(n^2) in worst case, while selection sort has a time complexity of O(n^2) in all cases.
Bubble sort is stable, meaning it preserves the relative orde...
Top trending discussions
posted on 13 May 2020
I applied via Company Website and was interviewed in Nov 2019. There were 5 interview rounds.
posted on 31 Aug 2022
I applied via Campus Placement and was interviewed before Aug 2021. There were 3 interview rounds.
Contains intermediate level aptitude and logical thinking
Contain expert level aptitude, logical and problem solving questions. Paragraph writing is also a part of it
posted on 13 May 2020
I applied via Company Website and was interviewed in Nov 2019. There were 5 interview rounds.
Some of the top questions asked at the Cloudkaptan Consultancy Services Application Developer interview -
based on 1 interview
Interview experience
Software Engineer
67
salaries
| ₹5 L/yr - ₹13 L/yr |
Senior Software Engineer
32
salaries
| ₹10 L/yr - ₹20 L/yr |
Software Engineer Trainee
18
salaries
| ₹3 L/yr - ₹8.1 L/yr |
Automation Test Engineer
7
salaries
| ₹7.5 L/yr - ₹12.5 L/yr |
Lead Engineer
6
salaries
| ₹22 L/yr - ₹28 L/yr |
Maxgen Technologies
VDart
ANR Software Private Limited
Magic Edtech