i
PTC
Filter interviews by
I applied via Campus Placement and was interviewed in Dec 2022. There were 3 interview rounds.
First 20 question for apti and then coding round of 20 questions each from c/c++ , java and SQL
No, multiple inheritance is not allowed in Java.
Java does not support multiple inheritance for classes to avoid the diamond problem.
However, multiple inheritance is allowed for interfaces in Java.
Example: class A extends B, C is not allowed, but interface A extends B, C is allowed.
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Example: Class 'Car' can inherit properties and methods from class 'Vehicle'
Polymorphism in software development is like a person driving different vehicles using the same driving skills.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
For example, a superclass 'Shape' can have subclasses like 'Circle' and 'Rectangle' which can be treated as 'Shape' objects.
Calling a method like 'draw()' on a 'Shape' object will execute the specific implementatio...
I applied via Referral and was interviewed before Sep 2022. There were 4 interview rounds.
Aptitude Java CI/CD DevOps Unit testing HTML CSS
I was interviewed in Jul 2017.
Code to print * in five consecutive lines
Use a loop to iterate five times
Inside the loop, print a string containing a single * character
Code to calculate number of bounces a ball goes through until it comes to rest.
Use a loop to simulate the bounces until the ball stops bouncing
Calculate the height of each bounce using the given formula
Keep track of the number of bounces in a counter variable
The best and less time consuming way to calculate factorial of a number is using iterative approach.
Iteratively multiply the number with all the numbers from 1 to the given number
Start with a result variable initialized to 1
Multiply the result with each number in the range
Return the final result
Code to find factorial using function recursion
Define a function that takes an integer as input
Check if the input is 0 or 1, return 1 in that case
Otherwise, call the function recursively with input-1 and multiply it with the input
Top trending discussions
I applied via Campus Placement
Question related to operating system and computer network
Traverse all child nodes in a tree data structure
Use depth-first or breadth-first traversal algorithms
Recursively visit each child node starting from the root node
Consider using a stack or queue data structure for traversal
Example: Traverse all nodes in a binary tree
Written coding test
Basic coding questions
Only c c++
Easy level
I applied via Campus Placement and was interviewed in Oct 2024. There were 3 interview rounds.
In first round 4 coding question like 1 dsa 2 database and one is api and question is very simple . coding round was conducted in hackerrank
Again same but dsa question and oops concept in deep level
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There were 2 interview rounds.
Basic questions were given..bar graphs,pie charts
Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.
Allows a class to reuse code from another class
Creates a parent-child relationship between classes
Derived class inherits attributes and methods from base class
OOP principles are the fundamental concepts of object-oriented programming that help in designing and implementing software solutions.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Allowing a class to inherit properties and behavior from another class.
Polymorphism: The ability of objects to take on multiple forms or have multiple behaviors.
Abstraction: Hiding t...
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to be used for different data types or objects.
Examples include method overloading and method overriding in object-oriented programming languages like Java.
Hash Map is a data structure that stores key-value pairs and uses a hash function to map keys to their corresponding values.
Hash Map uses a hash function to determine the index of the key-value pair in the underlying array.
Collisions can occur when multiple keys hash to the same index, which can be resolved using techniques like chaining or open addressing.
Hash Map typically has a load factor threshold to determine whe...
Some of the top questions asked at the PTC Software Developer interview -
based on 2 interviews
Interview experience
based on 9 reviews
Rating in categories
Software Specialist
161
salaries
| ₹7.5 L/yr - ₹18.2 L/yr |
Senior Software Specialist
121
salaries
| ₹9.1 L/yr - ₹24 L/yr |
Technical Lead
108
salaries
| ₹10.9 L/yr - ₹28.5 L/yr |
QA Specialist
84
salaries
| ₹7 L/yr - ₹15 L/yr |
Product Specialist
77
salaries
| ₹7.5 L/yr - ₹13 L/yr |
Autodesk
Siemens
Bosch
ABB