Posts

Showing posts with the label Questions & Answers

Array Practice-Insert Element At Given Position

import java.util.*; public class insertElementAtGivenPosition {        static void insertElementInArray(int array[], int noToInsert, int positionToInsert, int arrayLength)    {      for(int i = arrayLength -1; i > positionToInsert; i--)      {        array[i] = array[i-1];      }      array[positionToInsert] = noToInsert;    }           public static void main(String[] args) {              int array[] = new int[4];       array[0] = 1;       array[1] = 2;              int noToInsert = 3;       int positionToInsert = 2;              int arrayLength = array.length;       System.out.println("Befor array");       for(int i = 0; i < arrayLength; i++)   ...

Difference between Git fetch and Git pull

Image
📌 Difference between Git fetch & Git pull ❓ 1. Git fetch and Git pull are both Git commands used to retrieve changes from a remote repository to a local repository.  2. Git fetch will retrieve changes from the remote repository and store them locally, but it will not automatically merge them with your local branches.  3. On the other hand, Git pull will retrieve the changes from the remote repository and automatically merge them with your local branches. 🎯 Good Luck for Your Learning..! 🙏 

Part-2 | Top Most Asked And Important 20 Java Interview Questions And Answers| Build Your Tech Skill

Image
Hello Dear Friends, I hope you are doing Good! In this article we are going to see most asked and important 20 java interview questions and their answers. And guys for the better understanding we have explained all thirty questions on our YouTube Chanel. I will share you the link and also there you can find another videos which will helpful to you.

Most Asked & Important 30 Java Interview Questions And Answers | Build Your Technical Skill | Part-1

Image
Hello Dear Friends, I hope you are doing Good! In this article we are going to see most asked and important thirty java interview questions and their answers. And guys for the better understanding we have explained all thirty questions on our YouTube Chanel. I will share you the link and also there you can find another videos which will helpful to you.

Important Interview Tips And Techniques | Types of Interviews | Avoid Mistakes And Build Your Skill

Image
Hello Dear Friends, I hope you are doing Good! In this article we are going to see below points which are the most important if you are preparing for the Interview. And guys for the better understanding we have explained below points in our YouTube Chanel. I will share you the link and also there you can find another videos which will helpful to you. List of Important Points :  1. Understand the Interview Process 2. What tips should be follow before the Interview? 3. What and how to use the STAR Pattern 4. During an Interview? 5. About Body Language 6. About Negotiating Salary

How to run Selenium script when system is locked?

Hello Dear Friends Have you ever faced a screen locking problem while executing your selenium script, if yes, I would suggest you to try the steps below and hope it will help you? 1. Execute test cases on VDI server: Yes, guys you can execute your test cases on Virtual desktop infrastructure (VDI) server It will provide lots of features and also you can customize the system as per your requirement. For the more information I have mentioned URL link:  VDI Site   2. Video Player: To keep your system session active and to avoid screen locking start default windows Video Player on agent machine and play any video in loop.   3. VM Player:  Download VM Player from VMware site and disable the screen lock option on the VM and run all your tests cases on their only.   4. Run test cases on Jenkins :  If you are using TestNG or any testing Framework or else you can execute your test case calling in Jenkins  So,...