interv Flashcards
(27 cards)
What is static polymorphism
implement multiple methods within the same class that use the same name but a different set of parameters.
What is the process of static polymorphism referred as
is called method overloading
What functions does the JVM provide
JVM is also platform dependent and provides core java functions like memory management, garbage collection, security etc.
what does JRE stand for
java run environment
What is dynamic polymorphism
Within an inheritance hierarchy, a subclass can override a method of its superclass. That enables the developer of the subclass to customize or completely replace the behavior of that method. Both methods, implemented by the super- and subclass, share the same name and parameters but provide different functionality.
what does JVM stand for
java virtual machine
What time does static polymorphism run?
compile-time
what is the JDK
Software Development environment used for developing java apps and applets. provides all the tools, executables and binaries required to compile, debug and execute a Java Program.
What time does dynamic polymorphism run?
run-time
what does JDK stand for
java development kit
What is a JVM
JVM is a engine that provides runtime environment to drive the Java Code or applications. It converts Java bytecode into machines language.
what contains the JVM
JRE and JDK
Overriding
Overriding means having two methods with the same method name and parameters (i.e., method signature). One of the methods is in the parent class and the other is in the child class. Overriding allows a child class to provide a specific implementation of a method that is already provided its parent class.
What is the JRE
JRE is the implementation of JVM, it provides a platform to execute java programs. Running the java programs – contains JVM
What is the SLDC
Planning – Requirements – Design and prototype – software development – testing – deployment – operations and maintenance
overloading
Overloading occurs when two or more methods in one class have the same method name but different parameters.
what is Java inheritance
Sub and super classes (parent and child) Mechanism in which one object acquires all the properties and behaviors of a parent object. Used for method Overriding (so runtime polymorphism can be achieved) and For Code Reusability. class Subclass-name extends Superclass-name
what time does overriding occur
Overriding is a run-time concept
what is Java Composition
Association is relation between two separate classes which establishes through their Objects. Association can be one-to-one, one-to-many, many-to-one, many-to-many.
In Object-Oriented programming, an Object communicates to other Object to use functionality and services provided by that object. Composition and Aggregation are the two forms of association.
ASP
Active Server Pages
what time does overloading occur
overloading is a compile-time concept.
java inheritance is
is a
java composition is
has a
what is .net framework
platform for building various apps on windows. supports OOP, C#, VB. has built-in functionalities, class library, api which are used to build deploy and run web services