Spaces:
Sleeping
Sleeping
Commit
·
12aeed2
1
Parent(s):
fb695cd
Update app.py
Browse files
app.py
CHANGED
@@ -54,24 +54,6 @@ class Cat(Animal):
|
|
54 |
self.a = a,
|
55 |
self.b = b,
|
56 |
|
57 |
-
|
58 |
-
'''
|
59 |
-
the concecpts of oop
|
60 |
-
inheritance--this concept is about the classes like we have class animanls now it will have sub classes like cat or dog this is inheritance(single level, multi level, hybrid)
|
61 |
-
polymorphism--two methods one is method overloading which means that the function name and parameters are similar other one is method overloading in which the function name is similar but parameters are different
|
62 |
-
encapsulation--the hiddin of data which can not be accessed from outside the class three types private, public and protected
|
63 |
-
classes--the blueprint containing all the infomartion of the particular rela world thing contain functuion or methods
|
64 |
-
abstraction--the function which do not have any return value or dont contain any info in the function all the implementstion is done from the parent or subclass
|
65 |
-
recursion--the recursion is all about that we created a function and calling it inside the function
|
66 |
-
arrays--the arrays are that contain lists or any info like numbers 1 -100 this can of three types 1d, 2d and 3d everyone ahve it's pwn functinality
|
67 |
-
objects--the objects are the instance of classes to call the fnctions
|
68 |
-
these concept are from oop which can be used from any proraming lang
|
69 |
-
where as python is a dynamic language
|
70 |
-
so there is many the langugae= uncluding pythobn etc
|
71 |
-
'''
|
72 |
-
# my name is moazzam riaz the student of university of lahore
|
73 |
-
|
74 |
-
|
75 |
def main():
|
76 |
|
77 |
st.title("Document Query System")
|
|
|
54 |
self.a = a,
|
55 |
self.b = b,
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
def main():
|
58 |
|
59 |
st.title("Document Query System")
|