- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 96 Articles for Campus Interview
306 Views
The best orchestration technology nowadays is Kubernetes, which has become the industry buzzword. It draws a lot of seasoned employees looking to go up the corporate ladder. International businesses including Huawei, Pokémon, eBay, Yahoo Japan, SAP, Open AI, and Sound Cloud utilize Kubernetes on a daily basis. The market, however, is lacking in Kubernetes Certified experts. I assume you already are aware of these details, which led you to this post about Kubernetes Interview Questions. This article will help you learn about the most common interview questions. Describe Kubernetes An open-source container management platform called Kubernetes is in charge of ... Read More
2K+ Views
In this article, we will understand how to convert the local Time to GMT. Java does not have a built-in Date class, but we can import the java.time package to work with the date and time API. The package includes many date and time classes.Below is a demonstration of the same −Suppose our input is −The local time is: Fri Mar 18 00:01:54 IST 2022The desired output would be −The time in Gmt is: 17/03/2022 18:31:54AlgorithmStep 1 - START Step 2 - Declare an object of LocalDateTime namely date. Step 3 - Define the values. Step 4 - Define different ... Read More
391 Views
In this article, we will understand how to display time in different country’s format. Java does not have a built-in Date class, but we can import the java.time package to work with the date and time API. The package includes many date and time classes.Below is a demonstration of the same −Suppose our input is −Run the programThe desired output would be −The England Format is: Friday, 18 March 2022 The Italian Format is: venerdì, 18 marzo 2022AlgorithmStep 1 - START Step 2 - Declare an object of LocalDateTime namely date. Step 3 - Define the values. Step 4 - ... Read More
240 Views
In this article, we will understand how to display dates of calendar year in different format. Java does not have a built-in Date class, but we can import the java.time package to work with the date and time API. The package includes many date and time classes.Below is a demonstration of the same −Suppose our input is −Run the programThe desired output would be −The first date format is:2022-03-17T23:37:37.623304800 The second date format is:17/03/2022 The third date format is:Thursday, 17 Mar 2022AlgorithmStep 1 - START Step 2 - Declare an object of LocalDateTime namely date. Step 3 - Define the ... Read More
2K+ Views
In this article, we will understand how to iterate over ArrayList using lambda expression. The ArrayList class is a resizable array, which can be found in the java.util package. The difference between a built-in array and an ArrayList in Java, is that the size of an array cannot be modified.Below is a demonstration of the same −Suppose our input is −Run the programThe desired output would be −The list is defined as: Java Python Scala Mysql RedshiftAlgorithmStep 1 - START Step 2 - Declare namely Step 3 - Define the values. Step 4 - Create an ArrayList, and iterate over ... Read More
4K+ Views
In this article, we will understand how to pass ArrayList as the function argument. The ArrayList class is a resizable array, which can be found in the java.util package. The difference between a built-in array and an ArrayList in Java, is that the size of an array cannot be modified.Below is a demonstration of the same −Suppose our input is −Run the programThe desired output would be −The list is defined as: Java Python Scala Mysql RedshiftAlgorithmStep 1 - START Step 2 - Declare namely Step 3 - Define the values. Step 4 - Create an ArrayList, and iterate over ... Read More
376 Views
In this article, we will understand how to sort map by keys. The Java Map interface, java.util.Map, represents a mapping between a key and a value. More specifically, a Java Map can store pairs of keys and values. Each key is linked to a specific value.Below is a demonstration of the same −Suppose our input is −Input map: {1=Scala, 2=Python, 3=Java}The desired output would be −The sorted map with the key: {1=Scala, 2=Python, 3=Java}AlgorithmStep 1 - START Step 2 - Declare namely Step 3 - Define the values. Step 4 - Create a Map structure, and add values to it ... Read More
777 Views
In this article, we will understand how to check if a set is the subset of another set. A Set is a Collection that cannot contain duplicate elements. It models the mathematical set abstraction. The Set interface contains only methods inherited from Collection and adds the restriction that duplicate elements are prohibited.Below is a demonstration of the same −Suppose our input is −First set: [90, 75, 60, 45] Second set : [90, 60]The desired output would be −Is a sets sub-set of the other? trueAlgorithmStep 1 - START Step 2 - Declare namely Step 3 - Define the values. Step ... Read More
552 Views
In this article, we will understand how to calculate the difference between two sets. A Set is a Collection that cannot contain duplicate elements. It models the mathematical set abstraction. The Set interface contains only methods inherited from Collection and adds the restriction that duplicate elements are prohibited.Below is a demonstration of the same −Suppose our input is −First set: [90, 75, 60, 45] Second set: [90, 60]The desired output would be −After subtraction of two sets: [75, 45]AlgorithmStep 1 - START Step 2 - Declare namely Step 3 - Define the values. Step 4 - Create two Sets, and ... Read More
342 Views
In this article, we will understand how to calculate the intersection of two sets. A Set is a Collection that cannot contain duplicate elements. It models the mathematical set abstraction. The Set interface contains only methods inherited from Collection and adds the restriction that duplicate elements are prohibited.Below is a demonstration of the same −Suppose our input is −First set: [40, 45] Second set: [50, 45]The desired output would be −The intersection of two sets is: [45]AlgorithmStep 1 - START Step 2 - Declare namely Step 3 - Define the values. Step 4 - Create two Sets, and add elements ... Read More