You are here

Page not found

Search results

  1. Using multiple classes in a Java program

    A Java program can contain any number of classes. Following Java program comprises of two classes: Computer and Laptop. Both classes have their ... and call their methods. Using two classes in Java program class Computer { Computer ( ) { System ...

    yogesh - 20/03/2018 - 11:16

  2. Java program for binary search

    Java program for binary search: This code implements binary search algorithm. Please ... main ( String args [ ] ) { int c, first, last, middle, n, search, array [ ] ;   Scanner in = ... + n + " integers" ) ;     for ( c = 0 ; c < n ; c ++ ) array [ c ] = in. ...

    yogesh - 20/03/2018 - 11:16

  3. c++ program to reverse a string

    C++ program to reverse a string:- This is the code to reverse a string which is ...

    yogesh - 28/12/2017 - 22:23

  4. Java program to check armstrong number

    This Java program checks if a number is Armstrong or not. Armstrong number is a number ... power ( int n, int r ) { int c, p = 1 ;   for ( c = 1 ; c <= r ; c ++ ) p = p * n ; ...

    yogesh - 20/03/2018 - 11:16

  5. Java program to open Notepad

    Java program to open Notepad: Notepad, a text editor is installed in Windows ... it using your Java code. How to open Notepad using Java program import java.util.* ; import java.io.* ; ... ; } } } Download Notepad program. Explanation of this code: getRunTime method is used to get the ...

    yogesh - 20/03/2018 - 11:16

  6. Java program to find all substrings of a string

    Java program to find substrings of a string: This program find all substrings of a ... { String string, sub ; int i, c, length ;   Scanner in = new Scanner ( System . in ... string + " \" are:" ) ;   for ( c = 0 ; c < length ; c ++ ) { for ...

    yogesh - 23/02/2018 - 14:20

  7. Circle function in c

    ... of the circle. The code given below draws a circle. C program for circle #include<graphics.h> #include<conio.h> ...

    yogesh - 08/01/2018 - 20:55

  8. bar3d function in c

    ... To change fill pattern and fill color use setfillstyle. C program of bar3d #include<graphics.h> #include<conio.h>   main ...

    yogesh - 08/01/2018 - 20:55

  9. Java static block program

    ... the practical use of a static block. Java static block program class StaticBlock { public static void ... main method." ) ; } } Output of the program: A static block can be used to check conditions before ...

    yogesh - 10/01/2018 - 18:43

  10. Captcha program in c

    This program generates captcha, a captcha is a random code generated using some ... to check whether a human is operating on a website. C programming code #include<stdlib.h> #include<dos.h> ... 10 ] ;   initgraph ( & gd ,& gm , "C: \\ TC \\ BGI" ) ;   midx = getmaxx ( ) / 2 ...

    yogesh - 05/06/2013 - 16:57

Pages