Skip to content
Menu
Code for Java c
  • Home
  • Java
    • Java Examples
    • Java tutorials
  • C
    • C tutorials
    • C Examples
  • C++
    • C++ Tutorials
    • C++ Examples
  • Python
    • Python Tutorials
    • Python Examples
  • About
    • About me
    • contact us
    • disclaimer
    • Privacy Policy
Code for Java c

Category: java

Display Hollow Rectangle star pattern

Program to Display Hollow square star pattern in Java using loops

Posted on October 26, 2019September 28, 2020

Program to Display Hollow square star pattern in Java using loops In this tutorial, we will discuss the program to display Hollow square star pattern in Java using loops We can display many types of number, Star, Alphabet patterns using for, while and do-while loop in Java language In this post, we are going to…

Java program to Sum of natural numbers 1 to n |5 ways

Posted on October 19, 2019October 19, 2019

Java program to Sum of natural numbers 1 to n| in 5 ways In this tutorial, we will discuss the Java program to the sum of Natural number from 1 to n In this post, we are going to learn how to find the sum of natural numbers in Java language in different 5 ways…

Java program to find factorial of a number|in 6 ways

Posted on October 16, 2019October 16, 2019

Java program to find factorial of a number In this tutorial, we will discuss the Java program to find factorial of a number|in 6 ways In this post, we are going to learn how to find the factorial of a number or the given number in Java language What is the factorial of a number…

Java program to addition of two numbers | 5 different Methods

Posted on October 10, 2019September 29, 2025

Java program to addition of two numbers In this tutorial, we will discuss the  Java program to addition of two numbers  In this post we are going to learn how to find sum of two numbers through different 5 ways Method 1 Program 1: Sum of two numbers -standard method public class AddTwoNumber{ public static…

Java program to print an integer

Posted on September 30, 2019October 1, 2019

Java program to print an integer value In this tutorial, we discuss the simple concept of Write a Java program to print an integer problem – How to write a program to print an integer in Java? In this article, we are going to learn How to write a program to print an integer in…

How to download and install Java on Windows

Posted on January 26, 2018January 10, 2020

How to download and install Java on Windows In this tutorial, we explain how to download and install Java. Java is a class-based and object-oriented programming language which has better features than other languages. It is more secure, portable, platform-independent and high performance. We can get Java from the Oracle Java download page. There are…

Variable and Data type in Java language

Posted on January 15, 2018January 11, 2020

Variable and Data type in Java In this article, we will discuss  the concept of Variable and Data type in Java Datatype The data type and variables are an important concept in every programming language. A variable can be similar to a container, which holds the value of your program in Java. Every variable in…

Java language Hello world program

Posted on November 16, 2017September 18, 2019

Java language Hello world program In this tutorial, we will discuss the Java language Hello world program Hello world is usually the first easy to understand program used to introduce programming language for beginners. Firstly, we will understand how to write hello world program and  then how to compile and run the program with no…

How to set path in Java language

Posted on November 10, 2017September 22, 2019

How to set path in Java language To Windows After you’ve installed the Java Development Kit(JDK) in Windows, you must set the path in Java Environment variable to point out  the JDK installation directory. Default drive is Programming file in C Drive. If you save the java source file inside the JDK/bin folder, this path…

Access modifier public private protected in Java

Posted on October 24, 2017September 25, 2019

Public,private and protected access modifier in Java The access modifier in java is used to decide the accessibility of scope of a field, method and constructor or class. If you would like change the accesibility of that, you can do that by appling access modifier to it. There are four  type of Access modifiers  in…

  • Previous
  • 1
  • …
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • Next

tag

Addition (8) Array (38) C++ language (91) C language (98) c sharp (23) Division (8) Function (29) if else (32) Java language (108) JavaScript (5) loops (138) Multiply (8) Oop (2) patterns (66) PHP (13) Python Language (38) Subtraction (9) temperature (20)

Archives

Categories

Address

Global information technology

Puloly south, PointPedro

Jaffna

Srilanka

©2026 Code for Java c | Powered by SuperbThemes