Top News

Showing posts from September, 2023

calculate factorial of number

public class factorial {     public static void main(String[] args) {         int num = 6;       …

calculate even and odd

public class even_or_odd {     public static void main(String[] args)     {        int num1=22;  …

calculate avg of subject marks

public class Average {     public static void main(String[] args)     {        int mar=56;       …

calculate area of circle

public class Area_of_circle {     public static void main(String[] args)     {        int r=5;   …

sum of two number

public class SumofTwonum { public static void main(String[] args) { int fnum=10; int snum…

simple asterisk pattern

public class SimpleAsterisk { public static void main(String[] args) { for (int i = 0; i <…

What is Runtime Polymorphism?

Runtime Polymorphism or Dynamic Polymorphism is the polymorphism that exists at runtime. In case …

Load More That is All