Programmers help
Advertise here
  • Basics
  • Cheatsheets
  • Code Snippets
  • Exercises
  • JavaScript
  • Programs
  • Tutorials
  • Programs
  • Videos
  • JavaPrograms

    How to reverse a String in Java

    In this code example we show you how to reverse a string in Java To reverse the string, we will use the reverse() method of the StringBuilder class The reverse() …

    Read more
    0 FacebookTwitterPinterestEmail
  • JavaPrograms

    String Concatenation in Java

    In this example we show you how to join 2 strings in Java We will give you 2 examples, there are several ways you can join 2 strings in Java …

    Read more
    0 FacebookTwitterPinterestEmail
  • JavaPrograms

    How to Compare two Strings in Java

    In this example we show how to compare two different strings in Java There are a couple of ways of doing this, in  this example we will use the equals() …

    Read more
    0 FacebookTwitterPinterestEmail
  • JavaPrograms

    Current date and time using the Calendar class in Java

    In this example we will show how to get the current date and time using the Calendar class in Java We then use various fields to show the Day of …

    Read more
    0 FacebookTwitterPinterestEmail
  • JavaPrograms

    Current date and time in Java

    This example gets the current date and time in Java using the Date() class Example import java.util.*; public class JavaApplication1 { public static void main(String[] args) { Date currDate = …

    Read more
    0 FacebookTwitterPinterestEmail
  • JavaPrograms

    Check Whether a Number is Positive or Negative in Java

    In this example we show how to check if a number is positive, negative or zero in Java Example We take user input then use an if – else statement …

    Read more
    0 FacebookTwitterPinterestEmail
  • JavaPrograms

    Check a Number is Even or Odd in Java

    In this article we look at how to check if a number is odd or even in Java Example In the program,  we first create a Scanner object, and then …

    Read more
    0 FacebookTwitterPinterestEmail
  • C++Programs

    Factorial of a Number in C++

    In this example we show you how to display the factorial of a number in C++ The factorial of a non negative number is the product of all the integers …

    Read more
    0 FacebookTwitterPinterestEmail
  • C++Programs

    Generate a multiplication table in C++

    In this example we show how to generate a multiplication table in C++ Example We take input from the user and then use a for loop to display the table …

    Read more
    0 FacebookTwitterPinterestEmail
  • C++Programs

    Concatenate Two Strings in C++

    In this example we show how to concatenate 2 strings in C++ We will use the + operator to join 2 strings from the user Example   #include <iostream> using …

    Read more
    0 FacebookTwitterPinterestEmail
  • C++Programs

    Check if the number is Positive or Negative in C++

    In this example we will check if a number is positive or negative in C++ Example We use an if -else statement in this example after taking input from the …

    Read more
    0 FacebookTwitterPinterestEmail
  • C++Programs

    Copy One String To Another in C++

    In this example we show you how to copy one string to another in C++ Example   #include <iostream> using namespace std; int main() { string myString1, myString2; cout << …

    Read more
    0 FacebookTwitterPinterestEmail
Newer Posts
Older Posts

Great Offers

Get 12 Generative AI and LLM eBooks worth £324.88 for £9.00

Get 15 Data science eBooks worth £426.85 for £14.15

Get 7 OOP eBooks worth £205.93 for £7.55

Get 9 quantum computing eBooks worth £261.91 for £8.49

Tutorials

  • C Tutorials
  • C# Tutorials
  • C++ tutorials
  • Go Tutorials

Recent Posts

  • How to Fix DivideByZeroException in C# – Beginner-Friendly Guide
  • How to Fix IndexOutOfRangeException in C# – Simple Guide for Beginners
  • Tutorial: Structs in Rust Programming Language
  • How to Fix NullReferenceException in C# – A Beginner-Friendly Guide
  • How to Fix FileNotFoundError: [Errno 2] No such file or directory in Python
  • How to Safely Handle File Reading and Writing Errors in Python
  • How to Fix IOError: [Errno 13] Permission Denied in Python (Beginner Guide)
  • How to Fix IndexError: list index out of range in Python (Beginner Guide)
Advertise here

Donation Options

What its all for

PayPal


Kofi



Librepay



Patreon

Become a Patron!

Buy me a coffee

Categories

  • Assembly
  • Basics
  • C
  • C#
  • C++
  • Cheatsheets
  • Code Snippets
  • Ebooks
  • Exercises
  • Game Development
  • Go
  • HTML
  • Java
  • JavaScript
  • Node.js
  • PHP
  • Programs
  • Python
  • Resources
  • Rust
  • Tips
  • Tutorials
  • Videos

Other sites

http://learnmicropython.com

http://learningjava.net

http://maxjavascript.com

http://maxpython.com


Back To Top
Programmers help
  • Basics
  • Cheatsheets
  • Code Snippets
  • Exercises
  • JavaScript
  • Programs
  • Tutorials
  • Programs
  • Videos