Introduction
By Subject Expert Admin
Summary
Summary
4
Teachers with
Subject Expert Admin
233
Followers
For Learning
All
Visibility
Security Status
5
Contributions
By Teachers
Notes
- Students are auto-evaluated against related topics to ensure they learned it.
This lecture focus on the over all course theme, scope, and reference materials along with the introduction to design patterns.
Topics
- Course Theme
- Evaluation Criteria
- Books
- Course Objectives
- Designing Patterns
- Definitions
- Motivation
- Pros & Cons
- Template
- Classifications
- OOPs Revision
- Reference Materials
Lecture Slides
for All, By Mukhtiar Zamin
Using GitHub Desktop in Lab
for All, By Mukhtiar Zamin
If you are a student in university and using lab machine for your lab work. Then you need to follow the following steps to use GitHub for your lab work:
- Download “GitHub Desktop” by going to GitHub Desktop website and then click on Download button.
- Move the downloaded exe from Download folder into your student drive that permanently keep your files for example Z drive in COMSATS university.
- Double-Click this exe file to install it. Wait for some time until it asks you to sign in.
- Click on Sign In button which will open a browser and you need to login into your GitHub account.
- After successful login it may ask you to allow GitHub Desktop. Allow and proceed.
- Now Clone your repository into your student drive.
- Keep on working in separate folder in this repository for every lab and at the end commit your changes to your repository.
- If you follow the subexpert.com lab tasks then submit yours and review for others.
Lab 1
for All, By Mukhtiar Zamin
OOPs Concepts Utilization
Carefully read the following articles and then implement the coding examples.
Lab 2
for All, By Mukhtiar Zamin
Find answers and implementation to the following questions:
- Overloading of the main method is possible or not?
- What is returned by the constructor, and how you can identify it from its declaration?
- Can we create a program without main method? How many main methods are allowed in Java Programs?
- What are the six ways to use this keyword?
- Prove that multiple inheritance is not supported in Java?
- When to use aggregation and not composition and vice versa?
- How to override the static method?
- Give any real world example of using the covariant return type?
- Discuss different usages of Java super keyword?
- What is instance initializer block and why we use it?
- What are the different usages of final variable?
- What is a marker or tagged interface?
- What is runtime polymorphism or dynamic method dispatch?
- What is the difference between static and dynamic binding?
- How down-casting is possible in Java?
- What is the purpose of a private constructor?
- What is object cloning?
- Differentiate shallow copy from deep copy and implement each with an example.
- In your class context find the implementation of OOPs concepts.
Lecture Slides
for All, By Mukhtiar Zamin