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
Java Multithreading Interview Questions

What happens if we don’t override run() method during thread creation using extended thread?

August 18, 2024December 6, 2014 rsingh

 Answer:  If we don’t override run() method, compiler will not flash any error and it will execute run() method of Thread class that has empty

Read More
Java Multithreading Interview Questions

What happens if we start a thread twice in java multithreading?

August 18, 2024December 6, 2014 rsingh

What happens if we start a thread twice is a basic multithreading concepts in java. In fact, we cannot start a thread twice on the

Read More
Networking General

Can TCP IP socket server and client run on same machine?

August 18, 2024December 3, 2014 rsingh

Answer: Yes, TCP/IP socket server and client applications can be executed on the same machine. TCP Client and server programs are two different and independent

Read More
Networking General

What header files and libraries do you include for socket programming?

August 18, 2024December 2, 2014 rsingh

Answer: Below is the header files and pakage mentioned with respect to language/platform. Java: C# C/C++ Windows WinCE C/C++ Linux Note: This Question & answers

Read More
Networking General

What is static and dynamic IP address?

August 18, 2024January 29, 2023 rsingh

Static and dynamic IP address concept is important when we work on network related stuff / programming, for example Wi-Fi, Ethernet etc. Answer: Static and

Read More
Networking General

Can multiple TCP Servers run with same IP Address on a host?

August 18, 2024December 2, 2014 rsingh

Answer: Yes, we can create multiple TCP/IP servers using the same IP address on a machine. Actually, a tcp socket server is identified by unique

Read More
Networking General

What is ping command in networking?

August 18, 2024January 29, 2023 rsingh

Answer: Ping command in networking is a frequently used command to test if an IP Address or domain name exist in the network. Ping is

Read More
Networking General

Tell me some situations where you have used socket in your project?

August 18, 2024November 30, 2014 rsingh

Answer: To answer this question, focus on your projects where you have used socket and I would recommend to make a note of all socket

Read More
Networking General

Where have you used UDP Socket Programming?

August 18, 2024November 30, 2014 rsingh

Answer: The answer is up to you if you have used UDP socket programming in your project. If you have not used in your project

Read More
Networking General

What does bind() function do in TCP/UDP server?

August 18, 2024November 30, 2014 rsingh

Answer: Bind() function in socket programming is used to associate the socket with local address i.e. IP Address, port and address family. int bind(int sockfd,struct

Read More

Posts pagination

Previous 1 … 61 62 63 … 66 Next

My Unique Books for YOU

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