Java Program to Calculate Grade of Students

In this tutorial, we will write a java program to calculate the grade of the student. Before that, you should have knowledge on the following topic in java: Java if else ladder Java switch Case Java Program to calculate and display Student Grades: The program simply takes a user input for the number of subjects … Read more

C Program to Convert Octal to Decimal

In this tutorial, we will write a program to convert octal to decimal in C using whille loop. Before that, you must have knowledge of the following topics in C. Octal number The octal numbers are the numbers with base 8 and use the digits 0 to 7. Example: 8 in decimal is represented as … Read more

C Program to Convert Binary to Octal

In this tutorial, we will write a C program to convert a binary number into octal using a while loop. Before that, you must have knowledge of the following topics in C. Binary number The binary numbers are based on 0 and 1, so it is a base 2 number. They are the combination of … Read more

C Program to Convert Octal to Binary

In this tutorial, we will write a C program to convert an octal number into binary using a while loop. Before that, you must have knowledge of the following topics in C. Binary number The binary numbers are based on 0 and 1, so it is a base 2 number. They are the combination of … Read more

Example of this keyword in Java

In this tutorial, we will write this keyword program in java. Before that, you should have knowledge on the following topic in Java. this keyword in Java Example of this keyword in Java in constructor: Output: Name: Daniel marks:90 this: Invoke current class method: The method of the current class can be invoked by using … Read more

Java example of Inner Class

In this tutorial, we will write an inner class program in java. Before that, you should have knowledge on the following topic in Java. Inner class in Java Example of Inner class in Java To demonstrate the example if Member inner Class in Java: Output: Inner class Acceseed Example: Accessing static method of a static class … Read more

Example of Constructor in Java

In this tutorial, we will write a constructor program in java. Before that, you should have knowledge on the following topic in Java. Constructor in Java Constructor program in Java Basic Example for displaying the default values in Java: Output: 0 null 0 0 null 0 Example of Parameterized Constructor in Java: Output: 101 John … Read more