Skip to content

Interview Sansar

Software jobs interview preparation source

  • Home
  • Interview Questions
    • C Interview Questions
    • C++ Advanced Interview Questions
    • C++ Basic Interview Questions
    • Core Java Interview Questions
    • Java Collections Interview Questions
    • Java Multithreading Interview Questions
    • C# Basic Interview Questions
    • C# Advanced Interview Questions
    • C# Multi-threading Interview Questions
  • MCQs
    • MCQ-C++
    • MCQ-Java
    • MCQ-SQL
    • MCQs Algorithms and Data Structure
  • Programming Examples
    • C Programming Examples
    • C++ Programming Examples
    • C# Programming Examples
    • SQL Examples
    • Oracle PL SQL Examples
    • Time Complexity
  • Blog
    • C++ interview questions
    • C# interview questions
    • Java Interview Questions
    • Short Interview Questions
    • Behavioural / HR Interview
  • You-Tube
  • About
    • Why Visit
    • Sitemap
    • Contact Us
    • e-author

Author: rsingh

Java Multithreading Interview Questions

Difference between process and thread in Java Multithreading?

August 18, 2024December 20, 2014 rsingh

Answer:Difference between process and thread in java multithreading listed below is applied to all languages i.e. Java, C, C++ and C# etc. Here are 4

Read More
C++ Basic Interview Questions

What is purpose of const in this declaration “void function()const”?

August 18, 2024December 25, 2014 rsingh

const member function, “void function() const” is explained with an example. Need to focus on especially mutable keywords and pointer member in this case. In

Read More
Core Java Interview Questions

What is literals in java Programming? Explain with Example

August 18, 2024December 27, 2014 rsingh

Literals in Java programming is a constant value which is compatible to a data type, programmers assign to a variable that compiler understand. It is

Read More
C++ Advanced Interview Questions

Where have you used static functions in C++ project?

August 18, 2024January 29, 2023 rsingh

Answer: Real time situations where we use static member functions in C++. Note: For this interview question, you should find the specific scenarios in your

Read More
C++ Basic Interview Questions

What is static function in cpp? Is it same as in C?

August 18, 2024January 29, 2023 rsingh

Answer: C++ Static function is the function that is independent of an object of the class.  And called by class name and scope resolution ::

Read More
Java Collections Interview Questions

What is time complexity for offer, poll and peek methods in priority queue Java ?

August 18, 2024May 16, 2015 rsingh

Answer: Time complexity for the methods offer & poll is O(log(n)) and for the peek() it is Constant time O(1) of java priority queue. SIDE

Read More
Java Collections Interview Questions

ADT(Abstract Data Type) Vs Data Structure Interview question

August 18, 2024May 17, 2015 rsingh

Answer: ADT (Abstract Data type) represents a set of particular behaviors. for example, LIST represents a sequence of values, a QUEUE represents a FIFO(First in

Read More
Java Collections Interview Questions

Which to prefer add() or offer() to add items in Java Queue?

August 18, 2024January 29, 2023 rsingh

Both java queue add () and offer () methods are available in the Queue interface and are used to add elements to the queue. Preference

Read More
Java Collections Interview Questions

What is difference between Arraylist and Vector in java?

August 18, 2024May 22, 2015 rsingh

Difference between Arraylist and Vector in java in Java Collections. I’ll be listing 4 important differences between java arraylist and vector data structures. Java ArrayList

Read More
C# Advanced Interview Questions

Why to use Generic method if we can overload a method for multiple data types?

August 18, 2024May 24, 2015 rsingh

Answer: As we know that as a general rule, we should write generic method in C# if the method operation is same for all data

Read More

Posts pagination

Previous 1 … 4 5 6 … 48 Next

My Unique Books for YOU

All Rights Reserved 2023: Interview Sansar.
Proudly powered by WordPress | Theme: Fairy Blog by Candid Themes.