Filter interviews by
HTML is used for structuring content on a webpage, while CSS is used for styling the content.
HTML is a markup language, while CSS is a styling language.
HTML is used to create the structure of a webpage, while CSS is used to control the layout and design.
HTML uses tags to define elements, while CSS uses selectors to apply styles.
Example: <h1>This is a heading</h1> (HTML) vs h1 { color: blue; } (CSS)
Static keyword in Java is used to create class-level variables and methods.
Static variables are shared among all instances of a class
Static methods can be called without creating an instance of the class
Static blocks are used to initialize static variables
Static import is used to import static members of a class
Thread is a lightweight sub-process that executes a set of instructions independently.
Threads allow concurrent execution of multiple parts of a program.
Java provides built-in support for multithreading through the Thread class.
Threads can be created by extending the Thread class or implementing the Runnable interface.
Thread synchronization is important to avoid race conditions and ensure thread safety.
Methods in Java are blocks of code that perform a specific task and can be called upon to execute that task.
Methods are declared within a class and can be public, private, or protected.
Methods can have parameters and return values.
Methods can be overloaded, meaning multiple methods can have the same name but different parameters.
Methods can also be overridden, meaning a subclass can provide its own implementation ...
API stands for Application Programming Interface. It is a set of protocols, routines, and tools for building software applications.
API allows different software applications to communicate with each other
It defines how software components should interact
API provides a layer of abstraction between the application and the underlying system
Examples of APIs include Google Maps API, Twitter API, and Facebook API
Inheritance is a mechanism where a new class is derived from an existing class. Polymorphism is the ability of an object to take on many forms. Encapsulation is the practice of hiding the internal workings of an object from the outside world.
Inheritance allows a subclass to inherit properties and methods from a superclass.
Polymorphism allows objects of different classes to be treated as if they were objects of the...
JDK is a development kit, JRE is a runtime environment, and JVM is a virtual machine.
JDK includes JRE and development tools
JRE includes JVM and necessary libraries
JVM executes Java bytecode
JDK is used for developing Java applications
JRE is used for running Java applications
JVM is platform-dependent
I applied via Naukri.com and was interviewed in Jul 2022. There was 1 interview round.
HTML is used for structuring content on a webpage, while CSS is used for styling the content.
HTML is a markup language, while CSS is a styling language.
HTML is used to create the structure of a webpage, while CSS is used to control the layout and design.
HTML uses tags to define elements, while CSS uses selectors to apply styles.
Example: <h1>This is a heading</h1> (HTML) vs h1 { color: blue; } (CSS)
JDK is a development kit, JRE is a runtime environment, and JVM is a virtual machine.
JDK includes JRE and development tools
JRE includes JVM and necessary libraries
JVM executes Java bytecode
JDK is used for developing Java applications
JRE is used for running Java applications
JVM is platform-dependent
API stands for Application Programming Interface. It is a set of protocols, routines, and tools for building software applications.
API allows different software applications to communicate with each other
It defines how software components should interact
API provides a layer of abstraction between the application and the underlying system
Examples of APIs include Google Maps API, Twitter API, and Facebook API
Thread is a lightweight sub-process that executes a set of instructions independently.
Threads allow concurrent execution of multiple parts of a program.
Java provides built-in support for multithreading through the Thread class.
Threads can be created by extending the Thread class or implementing the Runnable interface.
Thread synchronization is important to avoid race conditions and ensure thread safety.
Inheritance is a mechanism where a new class is derived from an existing class. Polymorphism is the ability of an object to take on many forms. Encapsulation is the practice of hiding the internal workings of an object from the outside world.
Inheritance allows a subclass to inherit properties and methods from a superclass.
Polymorphism allows objects of different classes to be treated as if they were objects of the same...
Methods in Java are blocks of code that perform a specific task and can be called upon to execute that task.
Methods are declared within a class and can be public, private, or protected.
Methods can have parameters and return values.
Methods can be overloaded, meaning multiple methods can have the same name but different parameters.
Methods can also be overridden, meaning a subclass can provide its own implementation of a ...
Static keyword in Java is used to create class-level variables and methods.
Static variables are shared among all instances of a class
Static methods can be called without creating an instance of the class
Static blocks are used to initialize static variables
Static import is used to import static members of a class
Top trending discussions
I applied via Recruitment Consultant and was interviewed before Oct 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed before Nov 2021. There were 2 interview rounds.
Best wishes to you know that you have to come to the day da
Hi sir I have sent the best for first year and all the best for your reference
I applied via Company Website and was interviewed in May 2021. There were 3 interview rounds.
Design Patterns are reusable solutions to commonly occurring problems in software design.
Design Patterns provide a common vocabulary for developers to communicate about solutions to problems.
They help in making code more flexible, reusable, and maintainable.
Examples of Design Patterns include Singleton, Factory, Observer, and Decorator.
I appeared for an interview before Sep 2020.
Round duration - 30 Minutes
Round difficulty - Easy
The interviewer was quite friendly. There were two questions one from arrays and other one from strings.
Implement a program that performs basic string compression. When a character is consecutively repeated more than once, replace the consecutive duplicates with the coun...
Implement a program to compress a string by replacing consecutive duplicates with the count of repetitions.
Iterate through the string and keep track of consecutive characters and their counts.
Replace consecutive duplicates with the count of repetitions.
Ensure the count of repetitions is ≤ 9.
Return the compressed string.
Given an array ARR
consisting of N
integers, your goal is to determine the maximum possible sum of a non-empty contiguous subarray within this array.
Find the maximum sum of a contiguous subarray in an array of integers.
Use Kadane's algorithm to find the maximum subarray sum in linear time.
Initialize two variables: maxEndingHere and maxSoFar to keep track of the current subarray sum and the maximum subarray sum seen so far.
Iterate through the array and update the variables accordingly.
Return the maxSoFar as the result.
Tip 1 : Practice at-least 200-250 questions from different topics.
Tip 2 : Prepare aptitude well.
Tip 1 : Resume should be always one pager.
Tip 2 : Mention all your projects and if you have a good score mention it on top.
I applied via LinkedIn and was interviewed in Apr 2021. There were 4 interview rounds.
Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.
Data structures are used to manage and manipulate data.
They can be implemented using arrays, linked lists, trees, graphs, and other methods.
Examples include stacks, queues, hash tables, and binary search trees.
Databases are essential for storing and managing large amounts of data efficiently.
Databases allow for easy organization and retrieval of data
They provide data security and integrity
Databases enable scalability and performance optimization
Examples include MySQL, Oracle, MongoDB, and SQL Server
based on 1 review
Rating in categories
TCS
Accenture
Wipro
Cognizant