Interview Sansar http://www.interviewsansar.com IT/Software Jobs Interview Preparation Source Thu, 10 Jan 2019 05:44:32 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.9 Printing program output / data on Console in C# http://www.interviewsansar.com/2019/01/09/printing-program-output-data-on-console-in-c-sharp/ http://www.interviewsansar.com/2019/01/09/printing-program-output-data-on-console-in-c-sharp/#respond Wed, 09 Jan 2019 10:50:50 +0000 http://www.interviewsansar.com/?p=3497 Console output in C# – Learn how to print program outputs in C# on console screen using Console.WriteLine method. You will learn how to print Strings, int and double variables etc on console. Here is a simple C# program that prints output as “I love C# Programming”. Output: I Love C# Programming Notice that string…

Read the full article

The post Printing program output / data on Console in C# appeared first on Interview Sansar.

]]>
http://www.interviewsansar.com/2019/01/09/printing-program-output-data-on-console-in-c-sharp/feed/ 0
Variables and Data types in C# http://www.interviewsansar.com/2019/01/09/variables-and-data-types-in-c/ http://www.interviewsansar.com/2019/01/09/variables-and-data-types-in-c/#respond Wed, 09 Jan 2019 06:24:40 +0000 http://www.interviewsansar.com/?p=3492 Learn variables and data types in C# programming with super simple explanation with example. DATA TYPES IN C# Here are some common data types we use in C# programs. int, float, char, double, Boolean and String. Data type is a classification of data e.g. int, float, double, char and String etc. by which a programmer…

Read the full article

The post Variables and Data types in C# appeared first on Interview Sansar.

]]>
http://www.interviewsansar.com/2019/01/09/variables-and-data-types-in-c/feed/ 0
Hello world C# Example http://www.interviewsansar.com/2019/01/09/hello-world-c-sharp/ http://www.interviewsansar.com/2019/01/09/hello-world-c-sharp/#respond Wed, 09 Jan 2019 00:48:52 +0000 http://www.interviewsansar.com/?p=3490 Hello world C# program- Creating Hello world C# program with steps to create project, namespace and class in Visual studio editor with important points explained.   Steps to Create a first Hello World program in C# in Visual studio editor On top menu, Click File -> New -> Project On New project window – >…

Read the full article

The post Hello world C# Example appeared first on Interview Sansar.

]]>
http://www.interviewsansar.com/2019/01/09/hello-world-c-sharp/feed/ 0
What is Java Thread Join method and its purpose? – Clear Example http://www.interviewsansar.com/2018/10/23/java-thread-join-method/ http://www.interviewsansar.com/2018/10/23/java-thread-join-method/#respond Tue, 23 Oct 2018 12:40:28 +0000 http://www.interviewsansar.com/?p=3475 In java Thread join method is used, so that main or parent thread can wait for its child thread to finish its execution and die. After that only main thread can executes its further statements. For example, In below thread program, main () method in Sample class is the main thread and it is creating…

Read the full article

The post What is Java Thread Join method and its purpose? – Clear Example appeared first on Interview Sansar.

]]>
http://www.interviewsansar.com/2018/10/23/java-thread-join-method/feed/ 0
Awesome Answer for Extending Thread Class vs Implementing Runnable interface in Java http://www.interviewsansar.com/2018/10/12/extending-thread-class-vs-implementing-runnable-interface-in-java/ http://www.interviewsansar.com/2018/10/12/extending-thread-class-vs-implementing-runnable-interface-in-java/#respond Fri, 12 Oct 2018 10:26:58 +0000 http://www.interviewsansar.com/?p=3463 Very nice and concise answer with examples for technical interview question what difference between Extending Thread class and Implementing Runnable Interface in Java. Before answering the differences lets have a brief note and tips that will help you answer the best. Examples of creating threads in java using extending Thread class and Runnable Interface NOTE:…

Read the full article

The post Awesome Answer for Extending Thread Class vs Implementing Runnable interface in Java appeared first on Interview Sansar.

]]>
http://www.interviewsansar.com/2018/10/12/extending-thread-class-vs-implementing-runnable-interface-in-java/feed/ 0
Why method overriding is called runtime polymorphism in Java? http://www.interviewsansar.com/2018/09/24/why-method-overriding-is-called-runtime-polymorphism-in-java/ http://www.interviewsansar.com/2018/09/24/why-method-overriding-is-called-runtime-polymorphism-in-java/#respond Mon, 24 Sep 2018 12:02:22 +0000 http://www.interviewsansar.com/?p=3455 Answer to why method overriding is called runtime polymorphism in java includes very simple code example with explanation, so you can understand easily. Do you think answer is difficult? In fact, it super simple. Read till end. You may read more about method overriding in java with example.   “In Run time polymorphism methods get…

Read the full article

The post Why method overriding is called runtime polymorphism in Java? appeared first on Interview Sansar.

]]>
http://www.interviewsansar.com/2018/09/24/why-method-overriding-is-called-runtime-polymorphism-in-java/feed/ 0
Examples where use of Java Static method is Indispensable http://www.interviewsansar.com/2018/07/02/examples-use-of-java-static-method/ http://www.interviewsansar.com/2018/07/02/examples-use-of-java-static-method/#respond Mon, 02 Jul 2018 06:15:58 +0000 http://www.interviewsansar.com/?p=3407 Let’s see some examples where use of java static methods are mandatory in the programs. Generally, we use static method where we want to call method without creating an object of the class. Here are examples where we cannot avoid using static methods in java and are indispensable. NOTE: Generally, this question is asked to…

Read the full article

The post Examples where use of Java Static method is Indispensable appeared first on Interview Sansar.

]]>
http://www.interviewsansar.com/2018/07/02/examples-use-of-java-static-method/feed/ 0
Why we need double check in singleton class in java? – Answered http://www.interviewsansar.com/2018/05/17/double-check-in-singleton-class-in-java/ http://www.interviewsansar.com/2018/05/17/double-check-in-singleton-class-in-java/#respond Thu, 17 May 2018 02:35:22 +0000 http://www.interviewsansar.com/?p=3380 Answer to why we need double check locking in singleton class in Java with thread program example.   Let’s understand first what does double checking means?   Consider the method getInstance() of below singleton class. You will see there are two if conditions to check if the singleton class object is null. So, question is,…

Read the full article

The post Why we need double check in singleton class in java? – Answered appeared first on Interview Sansar.

]]>
http://www.interviewsansar.com/2018/05/17/double-check-in-singleton-class-in-java/feed/ 0
Interview success story – Never give up – by Chandan Yadav http://www.interviewsansar.com/2018/05/09/interview-success-story-by-chandan-yadav/ http://www.interviewsansar.com/2018/05/09/interview-success-story-by-chandan-yadav/#respond Wed, 09 May 2018 12:11:29 +0000 http://www.interviewsansar.com/?p=3349 Chandan Kumar Yadav a fresher software engineer shares his success stories, pains and efforts during job search. He got 100+ rejections in IT industries but never give up and finally he got a great success. He set an example that people should never give up and have great determination.     Here he speaks his…

Read the full article

The post Interview success story – Never give up – by Chandan Yadav appeared first on Interview Sansar.

]]>
http://www.interviewsansar.com/2018/05/09/interview-success-story-by-chandan-yadav/feed/ 0
Interview success story – Failure to Success – by Sovan Panda http://www.interviewsansar.com/2018/05/09/interview-success-story-by-sovan-panda/ http://www.interviewsansar.com/2018/05/09/interview-success-story-by-sovan-panda/#respond Wed, 09 May 2018 12:01:40 +0000 http://www.interviewsansar.com/?p=3347 Got a job and really feel great as a software engineer. Shared my failure to success story!!! I’m, thankful to Rakesh Singh Sir, the author of www.interviewsansar.com for proper guidance that fetched me job in 5 months only. I’d love to share my failure to success story: Here you go… Today I am sharing my…

Read the full article

The post Interview success story – Failure to Success – by Sovan Panda appeared first on Interview Sansar.

]]>
http://www.interviewsansar.com/2018/05/09/interview-success-story-by-sovan-panda/feed/ 0