Developer Java Interview Questions

30,911 developer java interview questions shared by candidates

Questions on serialization and multi threading. Question on strategy design pattern. Basic questions on oracle PLSQL . Performance tuning in java. The interviewer did not know that there exists a try catch block in sql and we can throw and error from the catch block. The interviewer does not know the difference between sqlserver and oracle. He assumes both have the same features.
avatar

Technical Lead - Java

Interviewed at State Street

3.4
Jul 9, 2018

Questions on serialization and multi threading. Question on strategy design pattern. Basic questions on oracle PLSQL . Performance tuning in java. The interviewer did not know that there exists a try catch block in sql and we can throw and error from the catch block. The interviewer does not know the difference between sqlserver and oracle. He assumes both have the same features.

public void clearSourceListModel() { sourceListModel.clear(); } public void clearDestinationListModel() { destListModel.clear(); } public void addSourceElements(ListModel newValue) { fillListModel(sourceListModel, newValue); } public void setSourceElements(ListModel newValue) { clearSourceListModel(); addSourceElements(newValue); } public void addDestinationElements(ListModel newValue) { fillListModel(destListModel, newValue); } private void fillListModel(SortedListModel model, ListModel newValues) { int size = newValues.getSize();
avatar

Java Developer

Interviewed at Cook Systems

4.3
Apr 25, 2016

public void clearSourceListModel() { sourceListModel.clear(); } public void clearDestinationListModel() { destListModel.clear(); } public void addSourceElements(ListModel newValue) { fillListModel(sourceListModel, newValue); } public void setSourceElements(ListModel newValue) { clearSourceListModel(); addSourceElements(newValue); } public void addDestinationElements(ListModel newValue) { fillListModel(destListModel, newValue); } private void fillListModel(SortedListModel model, ListModel newValues) { int size = newValues.getSize();

import java.awt.BorderLayout; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.SortedSet; import java.util.TreeSet; // importing xml file import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.io.File; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; // importing xml file import javax.swing.AbstractListModel; import javax.swing.BorderFactory;
avatar

Java Developer

Interviewed at Cook Systems

4.3
Apr 25, 2016

import java.awt.BorderLayout; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Arrays; import java.util.Collection; import java.util.Iterator; import java.util.SortedSet; import java.util.TreeSet; // importing xml file import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import java.io.File; import javax.xml.bind.JAXBContext; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; // importing xml file import javax.swing.AbstractListModel; import javax.swing.BorderFactory;

Viewing 3141 - 3150 interview questions

Glassdoor has 30,911 interview questions and reports from Developer java interviews. Prepare for your interview. Get hired. Love your job.