Questions about arrays, Strings and CSS questions.
Developer Interview Questions
269,104 developer interview questions shared by candidates
How you set state in react.
What is the output of the following program? class Poly { static int length; int width; public Poly(int l, int w) { length = l; width = w; } int area() { return 2*length*width; } } class Rect extends Poly { public Rect(int l, int w) { super(l,w); } int area() { return length*width; } } class Solution { public static void main(String args[]) { Poly rect1 = new Poly(5,5); Poly rect2 = new Rect(6,4); int area1 = rect1.area(); int area2 = rect2.area(); System.out.println(area1 + " " + area2); } } 30 24 60 48 60 24 25 24 50 48 48 24 50 24
1.Code challenge.
Your Technical skills
Q: Can you join me next day at 12 PM for an interview?
Write some code to print extract words from a piece of text. Analyse the words found and print out some metrics e.g. average word length, most common word length etc...
1. Find the frequency of each word occured in the given string. Eg. Bitter bitter B-2 i-2 t-4 e-2 r-2 2. Program to find lucky number. 3. Java program to merge two arrays in third array in ascending order.
do you have knowledge of emerging tech?
I was having 8 Yrs of experience but they asked me how to access array elements
Viewing 531 - 540 interview questions