• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 33 pages
Exam (elaborations)

Revature Technical Interview Latest Quizzes & Ans..

Document preview thumbnail
Preview 4 out of 33 pages

Revature Technical Interview Latest Quizzes & Ans..

Content preview

Name: Score:


77 Multiple choice questions

Definition 1 of 77
When you inherit a method from a parent and you create a method with the same name and
signature.

What is the JRE?


What is Method Overriding?

What is the 'Scanner' class used for?

What does the "Finally" keyword do?

Term 2 of 77
What is an Algorithm?

Super class is the class that is extended by another class.
For example, Class A extends Class B. Class B is the super class because class A extends
from B. Class is A is the subclass.

Arrays are used to store multiple values in a single variable

Is a step by step procedure for calculations. It is used for calculation, data processing and
automated reasoning.


Java is easy to learn, and platform independent. Java code can be written once and can be
run on any system or OS.

,Term 3 of 77
What is the difference between "if" and "switch" statements?

if condition is true then execute some statement. Else, execute something else.

Is used to format and structure the document. For example, html is used to structure web
documents.

If statement can check for multiple conditions. Switch statement contains cases which only
match the value.

Method has a return type, can have any name and only trigger when being called explicitly.
A constructor doesn't have a return type, can only have the same name as the class name
and is triggered when an instance of a class is being created.

Term 4 of 77
Describe keyword New

refer to variables or methods that belong to the class instead of the instance of the class.

information that is hiding because is irrelevant to the user. For example: an uBer app.//Back
end

Map stores item in key - value pair. Key cannot be duplicate.

used to create new instance of a class.

,Term 5 of 77
Polymorphism

Inheritance enables new objects to take on the properties of existing objects by using the
keyword "extends". For example, you can create a class "Dog extends animal" meaning that
Dog has all the properties of an animal.

JVM is Java Virtual Machine - allow Java programs to run on any device or operating system.
Different system has different version of JVM.

Super class is the class that is extended by another class.
For example, Class A extends Class B. Class B is the super class because class A extends
from B. Class is A is the subclass.

Generally, the ability to appear in many forms. In object-oriented programming,
polymorphism refers to a programming language's ability to process objects differently
depending on their data type or class.

Term 6 of 77
How do you create a constructor? Give an Example.

Is used to format and structure the document. For example, html is used to structure web
documents.

by starting with access modifier like public or private. Followed by the class name.


Primitive datatypes hold value in Java. There are 8 of them. Boolean, int, double, short,
long, byte, float, char.

Methods in interface are not implemented. Method in classes need to be implemented.

, Term 7 of 77
Autoboxing

Autoboxing is when Java compiler convert primitive datatype to Wrapper class. For
example, convert an int to Integer class.

HTML stands for Hyper Text Markup Language. It's used to organized the website structure.

Binary is a language that the computers use and understand. It goes between 0 and 1. O is
off 1 is on.

if something is true then execute. else if different conditions are true, then execute. Else
execute something else.

Term 8 of 77
What is the difference between Collection and Collections?

Methods in interface are not implemented. Method in classes need to be implemented.

Checked exceptions are exceptions happen at the compiling time. These exceptions
prevent program from compiling. It's normally caught by the IDE as we write code.
Unchecked exceptions happen at runtime. Cannot be caught by the IDE and do not prevent
compiler from compiling.

if condition is true then execute some statement. Else, execute something else.

Collection is the interface that other collections type such as ArrayList, Set, etc implements.



Collections is the class that contains static methods that manipulating collection types.

Document information

Uploaded on
October 13, 2024
Number of pages
33
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.39

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
amzingnurse
4.8
(1570)
Sold
1576
Followers
63
Items
3620
Last sold
3 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions