Premium Employer

Clover Infotech

3.6
based on 1.1k Reviews
Filter interviews by

Finisar Interview Questions and Answers

Updated 30 Nov 2024
Popular Designations

Q1. what is the feature of opps

Ans.

OOPs feature is encapsulation, inheritance, and polymorphism.

  • Encapsulation: bundling of data and methods that manipulate the data within a single unit.

  • Inheritance: ability of a class to inherit properties and characteristics from its parent class.

  • Polymorphism: ability of objects to take on many forms or have multiple behaviors.

  • Examples: Java, C++, Python, Ruby, etc.

Add your answer

Q2. How to declare wearables variable

Ans.

To declare wearables variable, use an array of strings.

  • Declare a variable named 'wearables' and assign an empty array to it: let wearables = [];

  • Add strings representing different wearables to the array: wearables.push('Fitbit', 'Apple Watch', 'Garmin');

  • Access individual wearables using their index: console.log(wearables[0]); // Output: Fitbit

Add your answer

Q3. case decode difference

Ans.

Decode and Case are SQL functions used for manipulating data.

  • Decode is used to replace a value with another value based on a condition.

  • Case is used to perform conditional logic and return a value based on the condition.

  • Decode is specific to Oracle databases while Case is more widely used.

  • Example of Decode: SELECT DECODE(column_name, 'value1', 'replacement1', 'value2', 'replacement2', 'default')

  • Example of Case: SELECT CASE WHEN column_name = 'value1' THEN 'replacement1' WHEN c...read more

Add your answer

Q4. How to set wearables

Ans.

To set wearables, you need to connect them to a compatible device, download the corresponding app, and follow the instructions for setup.

  • Connect the wearable device to a compatible smartphone or computer via Bluetooth or USB.

  • Download the corresponding app for the wearable device from the app store or official website.

  • Follow the on-screen instructions to create an account, pair the device, and customize settings.

  • Ensure the wearable device is charged and properly positioned on ...read more

Add your answer
Discover Finisar interview dos and don'ts from real experiences

Q5. procedure function difference

Ans.

Procedures are a set of instructions executed sequentially, while functions return a value and can be called multiple times.

  • Procedures are used to perform a set of instructions in a specific order.

  • Functions are used to return a value and can be called multiple times.

  • Procedures do not return a value, while functions do.

  • Functions can have parameters, while procedures may or may not have parameters.

Add your answer

Q6. Abstract vs interface

Ans.

Abstract classes can have both abstract and non-abstract methods, while interfaces can only have abstract methods.

  • Abstract classes can have constructors, fields, and non-abstract methods.

  • Interfaces can only have abstract methods and constants.

  • A class can implement multiple interfaces, but can only inherit from one abstract class.

  • Abstract classes are used to define a common behavior for subclasses, while interfaces define a contract for classes to implement.

Add your answer

Q7. Stored procedure vs function

Ans.

Stored procedures are precompiled SQL queries stored in the database, while functions are reusable blocks of code that return a value.

  • Stored procedures are used for executing a set of SQL statements, while functions are used to perform specific tasks and return a value.

  • Stored procedures can have input and output parameters, while functions always return a value.

  • Stored procedures can modify data in the database, while functions are read-only.

  • Stored procedures are stored in the...read more

Add your answer

Q8. Datatypes in vba

Ans.

VBA has various datatypes like Integer, String, Boolean, etc. for storing different types of values.

  • VBA datatypes include Integer, Long, Single, Double, String, Boolean, Date, Object, Variant, etc.

  • Use Integer for whole numbers, String for text, Boolean for true/false values, Date for dates, etc.

  • Example: Dim myInteger As Integer, myString As String, myBoolean As Boolean

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Finisar

based on 11 interviews
2 Interview rounds
Resume Shortlist Round
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Engineer Interview Questions from Similar Companies

3.8
 • 181 Interview Questions
4.0
 • 25 Interview Questions
4.0
 • 18 Interview Questions
4.0
 • 14 Interview Questions
3.9
 • 13 Interview Questions
3.5
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter