Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the quiz-maker domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u797631661/domains/codermantra.com/public_html/wp-includes/functions.php on line 6121
S. Shekhar – Page 5 – CoderMantra

Java – User Input

In this tutorial, we will learn how to accept input in Java. Java has many different ways to accept user input. Here, we will learn to accept user input using the Scanner class in detail with the example. User Input Using Scanner A Scanner is a predefined class in Java and found in java.util package…

Read More »

Java – Operators

Here, we will learn about operators in java. Operators are symbols, which perform a specific task on given values. For example +,-,* are Java operators for the arithmetical operations. Java has many different types of operators, we will discuss all of them here. Types of Operators in Java Java has many different types of Operators,…

Read More »

Java – Variables and Data Types

In this, java variables and data types tutorial, we learn how to declare a variable in java and what is data types in java. Let’s start with an example to declare variable and data type. Example: Addition of two numbers. In the above example you need to look at the first line in main() method…

Read More »

Java – First Program

In this Java tutorial, we will learn how to write your first java program, Hello World in Java. After that, we will also discuss how to compile and run a simple java program with example. First Program in Java (Hello World) Let’s start with the first example in java. To write Java code, open your…

Read More »

Java – First Step

Before we start, we should have JDK and a Text Editor installed in our PC. JDK is software for java development and, the text editor is an application where we write Java code. What is JDK? The Java Development Kit (JDK) is software for Java programs. The JDK is consist of JVM and the JRE….

Read More »

Python Database Connection

In this Python database connection tutorial, we will learn to create a connection between Python and MySQL. We will also learn all CRUD operations that is, create, retrieve, update and delete. Why Database Connection? In this world, all major applications store data and present it in a useful manner. For the example banking system, email…

Read More »

Inheritance in Python

Here in this tutorial, we will learn how to create inheritance in Python. We will also discuss examples of method overriding and types of inheritance in Python. A Program with Multiple Classes. A program can have multiple classes, but we need to create an object of all the classes. Member of the class will access…

Read More »

Class and Object in Python

In the previous chapter, we had discussed OOP concepts. In this tutorial, we will learn how to define a class and create an object in Python. Here, we will also discuss constructor in Python. Define a Class in Python Let’s begin with how to define a class in Python, to create a class in Python…

Read More »