

Peer Learning OOPS
Presentation
•
Professional Development, Education
•
Professional Development
•
Medium
18IT003 Abhijith V S
Used 6+ times
FREE Resource
6 Slides • 11 Questions
1
Peer Learning OOPS
Technical Aptitude - Level 2 Basics

2
Multiple Select
Main features of OOPS
Encapsulation
Abstraction
Inheritance
Polymorphism
Exception handling
3
Main features of OOPS
- Inheritance
- Encapsulation
- Polymorphism
- Data Abstraction
4
Multiple Choice
Which is known as Static Polymorphism ?
Compile Time
Run Time
Both are together called Static Polymorphism
None of the above
5
Multiple Choice
Which of the following is known as Dynamic Polymorphism ?
Compile Time
Run Time
Both are together called as Dynamic Polymorphism
None of the above
6
Static and Dynamic Polymorphism
- Compile time polymorphism is also known as Static Polymorphism
- Runtime polymorphism, also known as Dynamic Polymorphism
7
Multiple Choice
Is it always necessary to create objects from class?
Yes
No
8
Is it always necessary to create objects from class?
No. An object is necessary to be created if the base class has non-static methods. But if the class has static methods, then objects don’t need to be created. You can call the class method directly in this case, using the class name.
9
Multiple Select
Overloading and Overriding (Choose all options that apply)
Overloading is a compile-time polymorphism
Overriding is a runtime polymorphism
Overloading is a runtime polymorphism
Overriding is a compile-time polymorphism
10
Difference between overloading and overriding
Overloading is a compile-time polymorphism feature in which an entity has multiple implementations with the same name. For example, Method overloading and Operator overloading.
Overriding is a runtime polymorphism feature in which an entity has the same name, but its implementation changes during execution. For example, Method overriding.
11
Multiple Choice
public class Demo{
public static void main(String[] arr){
System.out.println(“Main1”);
}
public static void main(String arr){
System.out.println(“Main2”);
}
}
Predict the output.
Main1
Main2
Compile Error
Run Time Error
12
Multiple Select
Choose the right option for Private access Modifier
Not accessible from derived class
Accessible from derived class
Accessible from own class
Not accessible from own class
13
Multiple Select
Choose the right options for Protected access modifier.
Accessible within package
Not Accessible within package
Accessible outside package by sub class
Not Accessible outside package by sub class
14
Multiple Select
Choose the correct option on Array vs Array List.
Array: Size should be given at the time of declaration.
Array List: Size may not be required in declaration
Array: We need to specify index for operation
Array List: No Index required, instead we use inbuilt functions
15
Multiple Select
Difference - final , finally, finalize.
final: keyword
finally: block
finalize: method
final: keyword
finally: method
finalize: block
final: method
finally: block
finalize: method
final: block
finally: method
finalize: keyword
16
Poll
Feedback please...
Excellent
Good
Satisfactory
We expect something else
17
Thank you so much !!
Wish you all the best
Peer Learning OOPS
Technical Aptitude - Level 2 Basics

Show answer
Auto Play
Slide 1 / 17
SLIDE
Similar Resources on Wayground
14 questions
Quantifiers
Presentation
•
University
10 questions
Future Perfect Simple
Presentation
•
Professional Development
10 questions
Comprehension#3 - Verbal scenario
Presentation
•
Professional Development
15 questions
C203.02 with WO2 Liu
Presentation
•
Professional Development
15 questions
Pre Primary LRC Teacher Orientation
Presentation
•
KG
15 questions
W5 Exercise>>Show your preference
Presentation
•
Professional Development
13 questions
SEL & Wellness Check-In
Presentation
•
KG - Professional Dev...
9 questions
CBA CPD
Presentation
•
Professional Development
Popular Resources on Wayground
10 questions
GPA Lesson
Presentation
•
9th - 12th Grade
7 questions
Albert Einstein
Quiz
•
3rd Grade
31 questions
Bridge A Review
Quiz
•
3rd Grade
6 questions
Blue Sue and Red Ruth
Quiz
•
3rd Grade
8 questions
(Day12 HW) Inverse Trig Ratios
Quiz
•
9th Grade
20 questions
Summer Geometry QUIZ (Week3)
Quiz
•
9th Grade
16 questions
Theme Practice
Quiz
•
7th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade