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

Java program to addition of two numbers | 5 different Methods

Posted on October 10, 2019October 12, 2019

.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…

Operator in Java programming language

Posted on September 28, 2017January 24, 2020

The operator in Java programming language In this tutorial, we will discuss the concept of Operator in Java programming language Java operators Many types of operators are available in java which are used to perform various operations. Different types of java operators are given below Arithmetic Operator Unary Operator Assignment Operator Shift Operator Relational Operator…

Java language input Scanner tutorial

Posted on September 27, 2017January 24, 2020

Java language input Scanner tutorial In this tutorial, we will discuss the concept of Java language input Scanner tutorial Java input Scanner class The java.util.Scanner class is used to read input of primitive type of data, like int, double, float etc .. from the user in java. How to get input from user in Java…

Floyd’s triangle number pattern using while loop in Java

Posted on September 15, 2017January 24, 2020

Floyd’s triangle number pattern using while loop in Java In this tutorial, we will discuss Floyd’s triangle number pattern using while loop in Java. Triangle  number pattern using while loop in Java We can print a lot of patterns (Floyd’s triangle or pyramid triangle)using nested while loop in java. This example explains how to create…

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

tag

Addition (6) Array (38) C++ language (91) C language (98) c sharp (23) Division (6) Function (29) if else (32) Java language (102) JavaScript (5) loops (137) Multiply (7) Oop (2) patterns (65) PHP (13) Python Language (38) Subtraction (7) temperature (20)

Archives

Categories

Address

Global information technology

Puloly south, PointPedro

Jaffna

Srilanka

©2025 Code for Java c | Powered by SuperbThemes