Software Developer Entry Level Interview Questions

2,471 software developer entry level interview questions shared by candidates

JAVA What is OOP? - Is programming based on objects What are the four pillars of OOP and describe them? - Inheritance o Is a parent child relationship where one object gets all the properties and behaviors of the parent object. o Ex. Dog object can inherit the animal object - Polymorphism o Is the ability of an object to take many forms - Abstraction o Is the process of hiding certain details and only show the essential features of the object. - Encapsulation o Is the process of wrapping code and data together into a single unit o All interaction is preformed through an object What does finalize() (finalize method) do? - Can’t be overridden What is difference between final and static keywords? - Final o Once assigned it can’t be modified - Static o Defines class members and it is shared across all instances How do you create a variable in JavaScript? - ‘var’ = whatever you want to variable to be assigned to - ex: var name = ‘keerthi’ What do you use JavaScript for? - In web pages What is a stored procedure? - It is a set of pre-compiled SQL statements - it is stored in the database What is the difference between "==" and "===" in Javascript? - === strictly equality comparison o meaning the datatypes, you are coming must be the same - == abstract equality comparison o the datatypes can be different because both values are converted to a common data type What is the difference between == and .equals()? - == is a reference comparison( based on memory addresses) - .equals() compars the actual vales in the objects What is Method Overloading? - A feature that allows a class to have more than one method with the same name as long as the number or the type of input parameters are different. What is Method Overriding? - A feature that allows the child class to ‘override’ the parent class’s method and give its own specifications. - Example: if class dog extends animal. The dog class is able to change the animal class methods specifications. - You can use the keyword ‘super’ to avoid writing out the generic code twice. o If you are just adding to the parent method What are the different access modifiers? - Private - Public - Protected - Default What is a Jagged Array? - An array whose elements are arrays - “array of arrays” What are the differences between an Interface and Abstract Class? - What's the difference between a list, a Set and a Map?   - They are all interfaces of java - What's the difference between an Array List and a Linked List and which is preferable?   - They both implement list interfaces - Array List uses dynamic array to store elements o Can act as a list only o Better for storing data - Linked List uses doubly linked list to store elements – FASTER o Can act as a queue and a list o Better for manipulating data What is an object, and how is it different from a class?   - An class is a template (blueprint) for creating objects. - An object is a member or an ‘instance’ of a class What is a object class? - It is the parent class of all classes - All methods in this class are protected What is a wrapper class?   - A wrapper class wraps around a data type and gives it an object appearance - Two major uses: o To convert simple data types into objects o To convert strings into objects How do you initialize an object (in Java)?   - By using the new keywords? - Constructors? What are undeclared variable in javascript? - Variables that have been declared with out the keyword ‘var’ - What are getter and setters? - They are both methods in java - Getter gets the value of a variable and setter set the value of a variable. Can you have multiple catch blocks on a try statement?   - Can you overload a constructor?   - Yes. Are strings in Java immutable? Why?   - Yes. - https://stackoverflow.com/questions/22397861/why-is-string-immutable-in-java - What is JVM, JRE, JDK? - JVM Java virtual machine - abstract o It is a virtual machine that runs the java bytecodes - JRE Java runtime environment o It is the implementation of JVM - physical - JDK Java development kit - physical o It contains he JRE and the development tools What does the "$" mean in JQuery?   - It’s an alias to JQuery How might one mimic multiple inheritance in Java?   - What is casting? - Taking an object of one type and turning it into another object type What is the different between hashmap and hashtable? - Hashmap o Better for non -threaded applications o Allows 1 null key and any number of null values - Hashtable o Is synchronized o does not allow null keys or values. What is an interface? - It is a contract that provides how the class should look/behave like What is a package? - It is an organization of classes and interfaces -
avatar

Entry Level Software Engineer

Interviewed at Revature

3.7
Nov 3, 2017

JAVA What is OOP? - Is programming based on objects What are the four pillars of OOP and describe them? - Inheritance o Is a parent child relationship where one object gets all the properties and behaviors of the parent object. o Ex. Dog object can inherit the animal object - Polymorphism o Is the ability of an object to take many forms - Abstraction o Is the process of hiding certain details and only show the essential features of the object. - Encapsulation o Is the process of wrapping code and data together into a single unit o All interaction is preformed through an object What does finalize() (finalize method) do? - Can’t be overridden What is difference between final and static keywords? - Final o Once assigned it can’t be modified - Static o Defines class members and it is shared across all instances How do you create a variable in JavaScript? - ‘var’ = whatever you want to variable to be assigned to - ex: var name = ‘keerthi’ What do you use JavaScript for? - In web pages What is a stored procedure? - It is a set of pre-compiled SQL statements - it is stored in the database What is the difference between "==" and "===" in Javascript? - === strictly equality comparison o meaning the datatypes, you are coming must be the same - == abstract equality comparison o the datatypes can be different because both values are converted to a common data type What is the difference between == and .equals()? - == is a reference comparison( based on memory addresses) - .equals() compars the actual vales in the objects What is Method Overloading? - A feature that allows a class to have more than one method with the same name as long as the number or the type of input parameters are different. What is Method Overriding? - A feature that allows the child class to ‘override’ the parent class’s method and give its own specifications. - Example: if class dog extends animal. The dog class is able to change the animal class methods specifications. - You can use the keyword ‘super’ to avoid writing out the generic code twice. o If you are just adding to the parent method What are the different access modifiers? - Private - Public - Protected - Default What is a Jagged Array? - An array whose elements are arrays - “array of arrays” What are the differences between an Interface and Abstract Class? - What's the difference between a list, a Set and a Map?   - They are all interfaces of java - What's the difference between an Array List and a Linked List and which is preferable?   - They both implement list interfaces - Array List uses dynamic array to store elements o Can act as a list only o Better for storing data - Linked List uses doubly linked list to store elements – FASTER o Can act as a queue and a list o Better for manipulating data What is an object, and how is it different from a class?   - An class is a template (blueprint) for creating objects. - An object is a member or an ‘instance’ of a class What is a object class? - It is the parent class of all classes - All methods in this class are protected What is a wrapper class?   - A wrapper class wraps around a data type and gives it an object appearance - Two major uses: o To convert simple data types into objects o To convert strings into objects How do you initialize an object (in Java)?   - By using the new keywords? - Constructors? What are undeclared variable in javascript? - Variables that have been declared with out the keyword ‘var’ - What are getter and setters? - They are both methods in java - Getter gets the value of a variable and setter set the value of a variable. Can you have multiple catch blocks on a try statement?   - Can you overload a constructor?   - Yes. Are strings in Java immutable? Why?   - Yes. - https://stackoverflow.com/questions/22397861/why-is-string-immutable-in-java - What is JVM, JRE, JDK? - JVM Java virtual machine - abstract o It is a virtual machine that runs the java bytecodes - JRE Java runtime environment o It is the implementation of JVM - physical - JDK Java development kit - physical o It contains he JRE and the development tools What does the "$" mean in JQuery?   - It’s an alias to JQuery How might one mimic multiple inheritance in Java?   - What is casting? - Taking an object of one type and turning it into another object type What is the different between hashmap and hashtable? - Hashmap o Better for non -threaded applications o Allows 1 null key and any number of null values - Hashtable o Is synchronized o does not allow null keys or values. What is an interface? - It is a contract that provides how the class should look/behave like What is a package? - It is an organization of classes and interfaces -

Viewing 681 - 690 interview questions

Glassdoor has 2,471 interview questions and reports from Software developer entry level interviews. Prepare for your interview. Get hired. Love your job.