(continued from previous pagec ['five''six'update variables xyz yzx print(xyz object oriented programming object oriented programming (oopincreases the re-usability of the code alsothe codes become more manageable than non-oop methods butit takes proper planningand therefore longer timeto write the codes using oop method in this we will learn various terms used in oop along with their usages with examples class and object 'classis user defined template which contains variablesconstants and functions etc whereas an 'objectis the instance (or variableof the class in simple wordsa class contains the structure of the codewhereas the object of the class uses that structure for performing various tasksas shown in this section create class and object class is created using keyword 'classas shown in line of listing where the class 'jungleis created as ruleclass name is started with uppercase letterwhereas function name is started with lowercase letter currentlythis class does not have any structuretherefore keyword 'passis used at line thenat line an object of class 'jis createdwhose value is printed at line this print statement prints the class-name of this object along with it' location in the memory (see comments at line listing create class and object #ex py #class declaration class junglepass create object of class jungle jungle(print( add function to class nowwe will add one function 'welcomemessagein the class the functions inside the class are known as 'methodsthe functions inside the class are the normal functions (nothing special about them)as we can see at lines - to use the variables and functions etc outside the classwe need to create the object of the class firstas shown in line where object 'jis created when we create teh object of classthen all the functions and variables of that class is attached to the object and can be used by that object object oriented programming