package com.interview; public class Threading { int counter; class Mythread extends Thread{ @Override public void run(){ for(int i=0; i < 10000; i++) counter++; System.out.println("run = " + counter); } } public static void main(String[] args) throws InterruptedException { // TODO Auto-generated method stub Threading a = new Threading(); Mythread t1 = a.new Mythread(); t1.start(); t1.join(); System.out.println("" + a.counter); } }
Java Developer I Interview Questions
26,912 java developer i interview questions shared by candidates
How hashmap internally calculate hashcode
There 4 rounds of interviews..two technical each of 30-45 mins..1 managerial round and last one is HR .. questions were related to core java SQL and Unix...HR told me about positive feedback and took all my docs but later on they didn't provide me the offer even after follw up of 2 months
there was one exercise to implement a function which takes a number as a parameter "A" and must draw a X of stars and spaces and height "A" for example for A=5 * * * * * * * * *
There were series of questions without giving any time to answer or to think. If the panel was running out of time, they should have rescheduled the interview.
java basic questions
When you build an angular application, what type of file it creates which we can deploy?
Write program to find Prime number
How does micro servics communicates?
Introduce yourself What have you prepared for interview What do you learn in python Encapsulation Inheritance Write a program in python (he asked to replace all the A's in my name with black spaces) SQL based questions - how to copy data from one table to another table
Viewing 1201 - 1210 interview questions