1. What is a file?
What is a class?
Answers
Answer:
What is a file:
A file can be called as a document which can be used for storing videos, audio, images, text documents, any lists or many other things. Files can be dedicated a name and then content related to that particular topic can be stored in those files. Depending on what is stored in the file the data consumption will vary in kb, mb and gb. There are possibilities that a file gets corrupted also and the images in that may get degraded due to the hard disk.
How to create a new file:
A new file can be created by right clicking and then clicking on new. Now we have to select folder and then we can name it according to our wish and the file is created.
What is a class:
Class is used in object oriented programming language. It generally defines a set of values and is very often used in some programming languages like C++ and python and many more.