Shared Flashcard Set

Details

Gail Interview Quzzing Java----- Jav------Javier
i still dont know what this is
11
Other
Not Applicable
07/09/2018

Additional Other Flashcards

 


 

Cards

Term
Wrapper Classes
Definition
Encapsulate primitive data types
Term
Is Java platform independent? explain
Definition
Yes it can run anywhere-->JVM
Build once, run anywhere/any OS
Term
JDK vs. JRE
Definition
JDK- developing programs
JRE- running programs
Term
What does Java do?
Definition
it allocates memory/does garbage collection
Term
What is Inheritance?
Definition
all classes come from Object Class, at the top of the class hierarchy
Term
Define: Class
Definition
A template for creating an object
It defines the object's state and behavior
Term
Define: Interface (and example)
Definition
An interface defines the responsibilities of a class/common actions b/w classes. One interface can extend (add to) another

Example: Flyable interface for both birds and planes
Term
How many interfaces can a class implement?
Definition
A class can implement more than 1 interface at a time, but not extend multiple classes
Term
Define: Abstract Class
Definition
An abstract class must be inherited/fleshed out by another class and cannot be used on its own
Term
Define: Coupling
Definition
Degree of dependency
Term
Define: Cohesion
Definition
A class's methods should be highly related Related to SRP
Supporting users have an ad free experience!