**Make sure to be confident in your answers, even if you have no idea and make up an educated guess
**If you have NOT had any professional programming experience, HAVE NO FEAR. That is NOT the end of the world, however, instead, you will need to have done some personal side projects or some darn good classroom projects where you can clearly explain what you have done
**You MAY have to write code by hand. If you do, make sure to know the syntax and logic behind the basic concepts. I know the one time I was asked to write code, I was asked about manipulating and printing arrays (in object oriented)
**I have started to notice that a lot of positions are either for Object Oriented languages or something involving the .net framework. I would suggest having some knowledge of both of those!
**These are questions a developer will most likely be asked (or that either myself or people I know have been asked). The answers will be provided below each question!
What is polymorphism?
Polymorphism is a concept similar to inheritance in which you allow an object to take many forms. What that means is you make an object and give it multiple references.
For example, you can make an animal object and have it reference a dog, cat, and mouse.
If you would like a better explanation, click here and scroll to the "Polymorphism" header.
What is inheritance?
Inheritance is where you have a parent class (ex a polygon), which contains many different methods and properties and you can apply everything from the parent class into child classes using the "extends" keyword (ex square, triangle, pentagon). NOTE: the parent class may also be referred to as the super or base class.
What does the "extends" keyword do?
The extends keyword is used in inheritance in order to allow the child classes to use the methods and properties from the parent class.
What is a class?
A class is programming file that holds the behaviors that will determine the output of the program. It contains variables and methods. You can make instances of the class with use of objects and apply these behaviors onto other classes in order to give it a specific trait, property, or behavior.
For example, if you have a class called pizza that has methods and variables defining its crust, meat, veggies, cheese, sauce, condiments, etc. If you want to make a pepperoni pizza and four cheese pizza class, you make a pizza object, which contains the properties from the pizza class, you can apply whichever properties from the pizza class you want onto the other pepperoni pizza and four cheese pizza classes.
What is the difference between overloading vs overriding? Can you do it with Javascript?
OverLOADING is when you have a method that maintains the same method name, but passes different parameters or the parameters are the same name but different types. The method can also be of a different return type.
OverRIDING a method is when you have a method that maintains the same method header, same type, and the same parameters with the same types. The only thing that is different is the method body. A common method that is overridden is toString().
What are the 8 primitive object oriented data types?
int, double, short, long, float, char, boolean, byte --> STRING IS A CLASS, NOT A PRIMITIVE DATA TYPE!!!
What is a Java Bean?
A Java Bean is a class in Java that is used with JSF or JSP that contains all of the functional methods within the application. It contains methods, setters, getters, and constructors (and a default constructor) that can be ran anywhere and controlled in other applications.
How can you use HTML when using JSF or JSP?
In this part, you are creating the client side of the application. You make an XML file where you define certain resource libraries, such as F and H. With that, you use certain tags such as
For a more detailed example, click here!
Have you used _________ (ex Eclipse, a data repository such as git hub, etc.)?
Either say yes or say no, but you would love to learn it!
What do you not like with JSF and do like with JSF (ex JSF vs separate client and server languages)?
How do you apply a font size onto something (css and html) either outside class or within a class?
What is the difference between jar and war file?
How do you use a webservice?
Do you know _________ (ex SOAP, Rest, Websphere, Spring, ASP.net, etc.)?
Do you know how to declare an array?
How do you print the contents of an array?
What is encapsulation?
How do you add 2 (integer) arrays together?
How do you print out the contents of an array in ascending (or alphabetical) order?
How do you sort an array?
When do you use the Systems Development Life Cycle and how do you apply that towards programming?
When do you use a client-side vs. server side scripting language and what is the difference between the two?
How do you set up a for loop?
How do you set up an object oriented enhanced for loop?
How do you set up a for each loop (in PHP) and what is it used for?
What is (multi)threading?
Describe the MVC architecture
What is the difference between a rest webservice and soap webservice?
What is the difference between an interface and abstract class in Java?
What is XSS?
What is a constructor?
What is a default constructor and what is it used for?
Where are your files executed?
What is the purpose of using the "Final" keyword?
Does Java pass variables by using references or values? What is the purpose of using the "Private" keyword?
What is the purpose of throwing an exception?
What is the difference between a primitive variable and a class variable?
Can interfaces extend other interfaces?
How do you (type) cast a variable?
What is the difference of between indexOf and substring?
In Java, what are the return types?
For an array list, what is the default size?
For an array list, how do you shrink the side of one?
For an array list, how do you change it into a regular array?
Back to Main Page
No comments:
Post a Comment