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 Interviews
Java Developer Interview Questions
In your interview for a java developer position, be prepared to answer technical questions that test your understanding of Java basics. Interviewers may also ask open-ended questions to assess your coding and problem-solving abilities. Prepare for non-technical questions that focus on time management, interpersonal communication, and work ethic.
Top Java Developer Interview Questions & How to Answer
Question #1: What is the difference between HashTable and HashMap in Java?
Question #2: Write a program to determine if 243 is an Armstrong number.
Question #3: How do you produce quality code when you have several Java projects to complete at once?
30,872 java developer interview questions shared by candidates
How hashmap internally calculate hashcode
Given a list of timestamped server requests with IPs and IDs, implement rate limiting: reject requests if an IP exceeds N requests within 1000ms. Return IDs of rejected requests.
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
Why do we use maven
Viewing 1391 - 1400 interview questions