CS311 Short Summary by Beyza Aysun
- Type
- Quiz
- Course
- CS311 Introduction to Web Services Development
- Size
- PDF 126 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 5 of 15. Download the file for all 15 pages.
Object Real world entity Class Blueprint of objects State Properties Behavior Actions
Inheritance Properties inherit karna Generalization Common cheezein combine karna
Concept
Meaning
Specialization General class se specific class banana Extension Existing class mein new features add karna Restriction Child class mein limitations lagana
Data Hiding Internal details hide karna Public Sab access kar sakte Private Sirf class ke andar Protected Child classes access kar sakti hain
Concept
Meaning
Information Hiding Important data hide karna Single Inheritance One parent →one child Multilevel Inheritance Grandparent →Parent →Child Multiple Inheritance Multiple parents →one child Association Objects ka relationship One Way Association Relation sirf ek direction mein Two Way Association Dono directions mein relation Ternary Association 3 entities ka relation Strong relationship Weak relationship Child independent nahi hota Child independent hota Parent delete →child bhi delete Parent delete →child zinda Example: House-Room Example: Department-Teacher
Abstract Class
Interface
Some implementation ho sakti Sirf method declarations Inheritance use hota Implements use hota “is-a” relationship Contract/service
Overloading
Overriding
Same class me hoti Parent-child me hoti Parameters different Parameters same Compile time Run time Example: add(int), add(double) Boy.eat()
Composition →Child parent ke bina nahi reh sakta Aggregation →Child independent hota Abstract Class →Blueprint jiska object nahi banta Concrete Class →Complete class jiska object banta Interface →Contract Overloading →Same method, different parameters Overriding →Child parent method ko replace karta hai
Concept
Meaning
Overloading Same method, different parameters Overriding Child replaces parent method Polymorphism One interface, many forms Dynamic Binding Runtime pe method decide Child object ko parent type banana
Child →Parent Parent →Child
Kahan banti Method Object Class Memory Stack Heap Static memory Default value Nahi Haan Haan Access modifier Nahi Haan Haan Lifetime Method tak Object tak Program tak
Easy Real-Life Analogy
Local Variable
Exam hall me rough work. Temporary.
Instance Variable
Har student ka:
roll number Different.
Static Variable
School ka naam. Sab students ke liye same.
Short Summary
JVM
Java program ko run karti hai Bytecode execute karti hai Memory manage karti hai Garbage collection karti hai
Data Types
Primitive
Basic values: int char float
Related CS311 files
All CS311 files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.