You are here

Page not found

Search results

  1. Reverse a string in Java

    Java reverse string program: This Java program reverses a string entered by a user. We use charAt method to ... order to reverse the entered string. Java programming code to reverse a string import java.util.* ;   class ...

    yogesh - 11/12/2017 - 18:36

  2. Java static method

    Java static method program: static methods in Java can be called without creating an object of the class. Have you noticed ... "Java is awesome." ) ; } } Output of code: Using static method of another classes If you wish to call a ...

    yogesh - 10/01/2018 - 18:47

  3. Java exception handling tutorial with example programs

    Java exception handling tutorial: In this tutorial we will learn how to handle exceptions in Java programs with the help of suitable examples. Exceptions are errors which ... ; } } Now we compile and execute the above code two times, see the output of program in two cases: In the ...

    yogesh - 10/12/2017 - 07:01

  4. Java for loop

    Java for loop is used to repeat execution of the statement(s) until a certain condition holds true. for is a keyword in Java programming language. Java for loop syntax for ( /* Initialization of variables */ ...

    yogesh - 10/01/2018 - 16:30

  5. Java program to find all substrings of a string

    Java program to find substrings of a string: This program find all substrings ... method of String class is used to find a substring. Java code to print substrings of a string is given below. Java programing ...

    yogesh - 15/01/2018 - 10:57

  6. Java program to convert Fahrenheit to Celsius

    Java program to convert Fahrenheit to Celsius: This code does temperature conversion from Fahrenheit scale to Celsius scale. Java programming code import java.util.* ;   class ...

    yogesh - 10/01/2018 - 18:31

  7. Java program for binary search

    Java program for binary search: This code implements binary search algorithm. Please note input numbers must be in ascending order. Java programming code import java.util.Scanner ;   class ...

    yogesh - 28/12/2017 - 22:34

  8. Java while loop

    Java while loop is used to execute statement(s) until a condition is true. In this tutorial, we will learn to use loops using Java while loop examples. First of all, let's discuss while loop syntax: ... braces to make your program easy to read and understand. Java while loop example Following program asks the user to input an integer ...

    yogesh - 10/01/2018 - 17:53

  9. Java program to open Notepad

    Java program to open Notepad: Notepad, a text editor is installed in Windows ... for creating and editing text files. You may be developing Java programs in it but you can also open it using your Java code. How to open notepad using Java program import ...

    yogesh - 10/01/2018 - 20:52

  10. Java if else program

    Java if else program uses if else to execute statement(s) when a condition ... is a simple program which explains the usage of if else in Java programming language. Java programming if else statement // If else in Java code import java.util.Scanner ;   class IfElse { ...

    yogesh - 10/01/2018 - 16:26