interv Flashcards

(27 cards)

1
Q

What is static polymorphism

A

implement multiple methods within the same class that use the same name but a different set of parameters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the process of static polymorphism referred as

A

is called method overloading

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What functions does the JVM provide

A

JVM is also platform dependent and provides core java functions like memory management, garbage collection, security etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does JRE stand for

A

java run environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is dynamic polymorphism

A
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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what does JVM stand for

A

java virtual machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What time does static polymorphism run?

A

compile-time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is the JDK

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What time does dynamic polymorphism run?

A

run-time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what does JDK stand for

A

java development kit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a JVM

A

JVM is a engine that provides runtime environment to drive the Java Code or applications. It converts Java bytecode into machines language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what contains the JVM

A

JRE and JDK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Overriding

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the JRE

A

JRE is the implementation of JVM, it provides a platform to execute java programs. Running the java programs – contains JVM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the SLDC

A
Planning – 
Requirements – 
Design and prototype – 
software development – 
testing – 
deployment – 
operations and maintenance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

overloading

A

Overloading occurs when two or more methods in one class have the same method name but different parameters.

17
Q

what is Java inheritance

A
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
18
Q

what time does overriding occur

A

Overriding is a run-time concept

19
Q

what is Java Composition

A

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.

20
Q

ASP

A

Active Server Pages

21
Q

what time does overloading occur

A

overloading is a compile-time concept.

22
Q

java inheritance is

23
Q

java composition is

24
Q

what is .net framework

A

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

25
what are the important components of .net
``` common language run-time .net class library -- application domain common type system .net framework ```
26
CST
common system type- rules for how data types should be declared
27
CLR
Common language runtime. completes memory management, security checks, assemblies to be loaded and thread management