You are here

Page not found

Search results

  1. Interface in Java

    Interface in Java: Java interfaces are like Java classes, but they contain only static final constants and declaration of ...

    devyog - 05/12/2019 - 08:26

  2. If else program in Java

    The if-else Java program uses if-else to execute statement(s) when a condition holds. Below ... a simple application that explains the usage of if-else in Java programming language. In the program, a user input marks obtained in an ... programming if else statement // If else in Java code import java.util.Scanner ; class IfElse {   ...

    devyog - 04/12/2019 - 00:32

  3. String copy in C

    ... int main ( ) {   char source [ 1000 ] , destination [ 1000 ] ;   ... ( "Input a string \n " ) ;   gets ( source ) ;   strcpy ( destination , source ) ;   ...

    devyog - 18/11/2019 - 19:00

  4. Using multiple classes in a Java program

    A Java program may contain any number of classes. The following program comprises ... || []).push({}); Using two classes in Java program class Computer {   Computer ( ) {   ... file somewhere in other projects without recompiling the code. In a nutshell number of .class files created are equal to the number of ...

    devyog - 04/12/2019 - 20:24

  5. Java program to open Notepad

    Java program to open Notepad, it's a text editor installed in the Windows ... used for creating and editing text files. You may be writing Java programs in it, but you can also open it from your Java program. How to open Notepad using Java program? import ...

    devyog - 05/12/2019 - 20:46

  6. Garbage collection in Java

    Java program to perform garbage collection: Free memory in Java virtual machine is printed, and then garbage collection is done using the ... available is more after garbage collection. You can use the code in a program or an application that uses a large amount of memory or where ...

    devyog - 05/12/2019 - 18:51

  7. Java program to print date and time

    Java date and time program: Java code to print or display current system date and time. We are using the ...

    devyog - 05/12/2019 - 18:35

  8. Binary search in Java

    Java program for binary search: This code implements the binary search algorithm. Please note that input numbers ... || []).push({}); Binary search Java program import java.util.Scanner ; class ...

    devyog - 05/12/2019 - 09:11

  9. Java program to compare two strings

    How to compare two strings in Java, i.e., test whether they are equal or not? The compareTo method of ... of its two objects. The method is case sensitive, i.e., "java" and "Java" are two different strings for it. If you wish to compare them without ...

    devyog - 05/12/2019 - 08:42

  10. Even odd program in Java

    Java program to check whether a number is even or odd; if it's divisible by ... || []).push({}); Odd even program in Java import java.util.Scanner ; class OddOrEven { ... for explanation see: C program to check odd or even . Code: import java.util.Scanner ; class EvenOdd { ...

    devyog - 25/10/2020 - 23:04

Pages