String manipulation in Java with examples
Any programming language including Java uses variables to store data. When it comes to Java, being an object oriented programming language it has separate class for each data type. One such class is “String” it comes with set of methods by default. String manipulation in Java is more easy with the set of methods it… (0 comment)

Write a program to print first n numbers in python
This program to print the first n number, introduces you to the usage of looping structures in python. One of the important thing to remember in python is, it does not have any “{” for marking the code blocks like in any other programming languages. In python it is handled completely differently, set of statements are… (0 comment)

Write a program to print first n even numbers in java
This program you will learn how to use both conditional and looping constructs in a nested format, that is a conditional statement would be present inside a for loop. As mentioned in other articles, there would be several ways to write logic for any problem / program, here I am showing some of the simple… (0 comment)

Write a program to print first n number in Java
This program helps to introduce the usage of looping structures in java, the following program will print the first n numbers from the number system, you can change the value of n by editing the value that is assigned to the variable “n”, ideally this parameter could be passed from outside and make the program… (0 comment)

Write a program to print Hello World in Python
The very first program which any person would attempt when learning a programming language is to print “Hello World!”, today in this article you would learn how to print “Hello World!” in a simple Python Program. # Writing the first program in Python print "Hello World!"; Create a file and save above content with a… (0 comment)

Write a program to print hello world in Java
The very first program which any person would attempt when learning a programming language is to print “Hello World!”, today in this article you would learn how to print “Hello World!” in a simple Java Program. // Importing default package import java.lang.*; //code for writing a class. public class HelloWorld { public static void main(String… (0 comment)