We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Assignment-3
KING KHALID UNIVERSITY Semester-II– 2024 425 CCS 3
Subject Code: The College Of Computer Science Subject : Programming Paradigms Department of Computer Science LastDate:9 May 2024 Section Number: Location: Abha Lecturer: Dr.Prasanalakshmi
Student ID:_____________________________________Total Marks: 5 Marks
Last date : 9/5/2024.
search in the google and text book and lecture notes.
write answers for all the following?
1. What is a class? explain with an example.
2. What is an Object? explain with an example. 3. Define abstraction in software in general? 4. Define inheritance? With examples. 5. What is public interface? Give an example. 6. What are private functions? Give an example. 7. Define access modifiers? With example. 8. What are constructors? explain.
Part - A QUES: 1 - Distinguish Between Following Terms: 1) Classes and Objects - 2) Data Abstraction and Data Encapsulation 3) Inheritance and Polymorphisms. ANS - 1) Classes and Object