Filter interviews by
Print values from 1 to 100, replacing multiples of 3 with Fizz, multiples of 5 with Buzz, and multiples of both with FizzBuzz.
Iterate from 1 to 100 and check for multiples of 3, 5, and both using modulo operator.
If multiple of 3, print Fizz. If multiple of 5, print Buzz. If multiple of both, print FizzBuzz.
Example: 3 -> Fizz, 5 -> Buzz, 15 -> FizzBuzz
Top trending discussions
Abstract class can have both abstract and non-abstract methods, while interface can only have abstract methods.
Abstract class can have constructors, member variables, and methods, while interface cannot.
A class can implement multiple interfaces but can only extend one abstract class.
Abstract classes are used to define a common behavior among subclasses, while interfaces are used to define a contract for classes to impl...
Abstract classes can have both implemented and abstract methods, while interfaces can only have abstract methods. Abstract classes support single inheritance, interfaces support multiple inheritance.
Abstract classes can have both implemented and abstract methods, providing more flexibility in design.
Interfaces can only have abstract methods, promoting a more strict contract for implementing classes.
Abstract classes sup...
I applied via AmbitionBox and was interviewed in Sep 2023. There were 7 interview rounds.
Explain about one topic
I applied via Company Website and was interviewed in May 2023. There were 4 interview rounds.
Encapsulation, abstraction, interface
I was interviewed in Feb 2021.
I applied via Naukri.com and was interviewed in Jan 2023. There were 3 interview rounds.
First I will give the altitude test
My coding knowledge is good and my coding speed is fast
I applied via Company Website and was interviewed in Apr 2022. There were 3 interview rounds.
Logical Reasoning, Verbal ability
based on 1 interview
Interview experience
Software Engineer
54
salaries
| ₹5 L/yr - ₹14 L/yr |
Associate Software Engineer
32
salaries
| ₹3.2 L/yr - ₹8.7 L/yr |
Senior Software Engineer
12
salaries
| ₹9.1 L/yr - ₹26 L/yr |
Software Developer
10
salaries
| ₹3.5 L/yr - ₹11 L/yr |
Associate QA Engineer
5
salaries
| ₹3 L/yr - ₹6.2 L/yr |
TCS
Infosys
Wipro
HCLTech