Skip to content

VLSIFacts

Let's Program the Transistors

  • Home
  • DHD
    • Digital Electronics
    • Fault Tolerant System Design
    • TLM
    • Verification
    • Verilog
    • VHDL
    • Xilinx
  • Embedded System
    • 8085 uP
    • 8086 uP
    • 8051 uC
  • VLSI Technology
    • Analog Electronics
    • Memory Devices
    • VLSI Circuits
  • Interview
    • Interview Experience
    • Training Experience
    • Question Bank
  • Notifications
  • QUIZ
  • Community
  • Job Board
  • Contact Us
  • Toggle search form

Wipro Limited – Technical Interview Question Bank – Part 1

Posted on April 1, 2016June 17, 2025 By Dewansh No Comments on Wipro Limited – Technical Interview Question Bank – Part 1

Q. What is inheritance in Java?

Ans. Inheritance is when a class inherits the properties of another class. The class which inherits is called the child class and the class from which the properties are inherited is called the parent class.

Q. What is importance inheritance in Java?
Ans. Inheritance improves the reusability of code.

Q. Explain the above with an example.
Ans. Suppose we have a class car. Now, in general each car has tires, doors, wipers etc. So we define a parent class with these characteristics and then the child classes can inherit these common properties and further have specific qualities of its own in its own class. Thus we don’t have to define the common properties repeatedly for each car.

Q. Keyword used to inherit a class in Java?
Ans. Extends.

Q. Difference between multiple and multilevel inheritance?
Ans. Multiple inheritance is when a child class has multiple parent classes. Multilevel inheritance means a hierarchy of inheritances in a system.

Q. Java supports both multiple and multilevel inheritance?
Ans. Java supports multilevel inheritance in general but it can support multilevel inheritance by using interfaces.

Q. What are interfaces in Java?
Ans. These are reference types in Java. They contain all abstract methods. They can be implemented by classes.

Q. Why interfaces?
Ans. All functions in an interface need to be defined in the class implementing it. Thus in a team if a person makes one part of the code and he needs some functions to be implemented necessary for proper working of that code, he can use an interface which when implemented will force the next team member(who updates or works on the next version of the project) to define the mandatory functions (for correct functionality).

Q. Keyword for inheritance in interfaces?
Ans. Implements.

Q. What is abstraction in Java?
Ans. Abstraction is hiding irrelevant data and showing only what is mandatory.

Q. What is an abstract class?
Ans. An abstract class is a class which may or may not have all abstract methods. These cannot be instantiated but can be inherited.

Q. What is polymorphism?
Ans. Different behavior of an object in different environment.

Q. How does Java implement polymorphism?
Ans. Overriding and Overloading.

Q. Difference between overriding and overloading?
Ans. Overriding means having two methods with the same method name and parameters (i.e., method signature). Overloading occurs when two or more methods in one class have the same method name but different parameters.

Q. Write a code to exhibit overriding.
Ans. Code

                                                                                                 Continued to Part 2

Spread the Word

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print

Like this:

Like Loading...

Related posts:

  1. Wipro Limited – Technical Interview Question Bank – Part 2
  2. Cisco Systems Interview Question Bank – Part 3
  3. HCL Technologies Interview Question Bank – Part 2
  4. LG Electronics Interview Question Bank – Part 1
Interview, Question Bank Tags:Interview, Technical Interviews, Wipro Interview Experience, WIPRO Limited, wipro technical interview, WIPRO Telecom

Post navigation

Previous Post: Blocking (immediate) and Non-Blocking (deferred) Assignments in Verilog
Next Post: Wipro Limited – Technical Interview Question Bank – Part 2

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Top Posts & Pages

  • ASCII Code
  • NAND and NOR gate using CMOS Technology
  • Circuit Design of a 4-bit Binary Counter Using D Flip-flops
  • Truth Tables, Characteristic Equations and Excitation Tables of Different Flipflops
  • Difference between $display, $monitor, $write and $strobe in Verilog


 

Copyright © 2025 VLSIFacts.

Powered by PressBook WordPress theme

%d