Category: C

C

Method Overriding in Python

Method Overriding in Python Method overriding is a concept of object oriented programming that allows us to change the implementation of a function in the child class that is defined in the parent class. It is the ability of a child class to change the implementation of any method which is already provided by one of its parent […]

C

Data Relationships in MongoDB

Data Relationships in MongoDB Relationships in MongoDB are used to specify how one or more documents are related to each other. In MongoDB, the relationships can be modelled either by Embedded way or by using the Reference approach. These relationships can be of the following forms: One to One One to Many Many to Many […]

C

Third Normal Form (3NF)

In our last tutorial, we learned about the second normal form and even normalized our Score table into the 2nd Normal Form. So let’s use the same example, where we have 3 tables, Student, Subject and Score. Student Table student_id name reg_no branch address 10 Akon 07-WY CSE Kerala 11 Akon 08-WY IT Gujarat 12 Bkon 09-WY IT Rajasthan Subject Table subject_id subject_name […]

C

Accessing a Java Collection using Iterators

Accessing a Java Collection using Iterators To access, modify or remove any element from any collection we need to first find the element, for which we have to cycle through the elements of the collection. There are three possible ways to cycle through the elements of any collection. Using Iterator interface Using ListIterator interface Using […]

C

C Command Line Arguments

Sometimes it is useful to pass the information into a program when you run it. In other words, sometimes you need to pass the information into a program at the time of running the program. In general, you pass the information into the function main() via the command line arguments. A command line argument is the information […]

Back To Top