Breaking

Search This Blog

Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Wednesday, 21 July 2021

July 21, 2021

Software Development Life Cycle (SDLC)

 Software Development Life Cycle (SDLC)



SDLC is a process used by the software industry to design, develop and test high quality softwares.
The Software Development Life Cycle (SDLC) aims to produce a high quality softwares that meets or exceeds customer expectations, reaches completion within times and cost estimates.
  • Software Development Life Cycle is the acronym of Software Development Life Cycle.
  • It is also called software development process.
  • Software Development Life Cycle  is a framework defining tasks performed at each step in the software development process.
In Hindi

एसडीएलसी एक ऐसी प्रक्रिया है जिसका उपयोग सॉफ्टवेयर उद्योग द्वारा उच्च गुणवत्ता वाले सॉफ्टवेयर के डिजाइन, विकास और परीक्षण के लिए किया जाता है।
सॉफ्टवेयर डेवलपमेंट लाइफ साइकिल (एसडीएलसी) का उद्देश्य उच्च गुणवत्ता वाले सॉफ्टवेयर तैयार करना है जो ग्राहकों की अपेक्षाओं को पूरा करता है या उससे अधिक है, समय और लागत अनुमानों के भीतर पूरा होता है।
  • सॉफ्टवेयर डेवलपमेंट लाइफ साइकिल सॉफ्टवेयर डेवलपमेंट लाइफ साइकिल का संक्षिप्त नाम है।
  • इसे सॉफ्टवेयर विकास प्रक्रिया भी कहा जाता है।
  • सॉफ्टवेयर विकास जीवन चक्र सॉफ्टवेयर विकास प्रक्रिया में प्रत्येक चरण पर किए गए कार्यों को परिभाषित करने वाला एक ढांचा है।
  • इसका उद्देश्य ऐसा मानक बनना है जो सॉफ्टवेयर विकसित करने और बनाए रखने के लिए आवश्यक सभी कार्यों को परिभाषित करता है।
Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development LifeSoftware Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle,Software Development Life Cycle, Cycle,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,SDLC ,

Sunday, 16 December 2018

December 16, 2018

Java String using it's function - Programming Examples

Java String using it's function - Programming Examples


String is the most widely used square in Java programming. This is the reason that string programs are used in Java interviews to reach coding skills.

example:
  1. char[] ch={'j','a','v','a','t','p','o','i','n','t'};  
  2. String s=new String(ch);  
is same as:
  1. String s="javatpoint";  

Java string provides several methods for class string operation, such as comparison (), concat (), equal (), partition (), length (), replace (), compare (), intern (), substring () e.t.c.

जावा स्ट्रिंग क्लास स्ट्रिंग पर ऑपरेशन करने के लिए कई तरीके प्रदान करता है जैसे तुलना (), concat (), बराबर (), विभाजन (), लंबाई (), प्रतिस्थापित करें (), तुलना करें (), intern (), substring () आदि।




Java String Example

String Change Case

public class StringChangeCase {

public static void main(String[] args) {

String str = "Hello World";

String strLower = str.toLowerCase();
String strUpper = str.toUpperCase();

System.out.println("Original String: " + str);
System.out.println("String changed to lower case: " + strLower);
System.out.println("String changed to upper case: " + strUpper);
}
}

output

Original String: Hello World
String changed to lower case: hello world
String changed to upper case: HELLO WORLD

Java String class methods

The java.lang.String class provides many useful methods to perform operations on sequence of char values.
No.MethodDescription
1char charAt(int index)returns char value for the particular index
2int length()returns string length
3static String format(String format, Object... args)returns a formatted string.
4static String format(Locale l, String format, Object... args)returns formatted string with given locale.
5String substring(int beginIndex)returns substring for given begin index.
6String substring(int beginIndex, int endIndex)returns substring for given begin index and end index.

Sunday, 25 November 2018

November 25, 2018

Classes and Objects in Java in english and hindi


Classes and Objects in Java



Classes and objects are basic concepts of oop(object-oriented programming) that revolve around real life institutions.
class और object ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग की बुनियादी अवधारणाएं हैं जो वास्तविक जीवन संस्थाओं के चारों ओर घूमती हैं।

class

A class is a user defined blueprints or prototype that makes the objects. It represents the set of properties or methods which are common to all types of one type. Generally, these components can be included in class announcements, respectively:

एक वर्ग एक उपयोगकर्ता परिभाषित ब्लूप्रिंट या प्रोटोटाइप है जिससे वस्तुओं को बनाया जाता है। यह गुणों या विधियों के सेट का प्रतिनिधित्व करता है जो एक प्रकार की सभी वस्तुओं के लिए आम हैं। आम तौर पर, कक्षा घोषणाओं में इन घटकों को क्रमशः शामिल किया जा सकता है:

  1. Modifier: A class may be public or have default access (refer to the description).
  2. Class name: The name should start with the initial letter (capitalized by the conference).
  3. Superclass (if any): The name of the class parent (superclass), if any, is expanded before the keyword. A class can only increase one parent (sub class).
  4. Interface (if any): A comma-separated list of interfaces implemented by the class, if any, before applying keywords. A class can implement multiple interfaces.
  5. Body: surrounded by braces, square squares, {}


  1. Modifiers (संशोधक): एक वर्ग सार्वजनिक हो सकती है या डिफ़ॉल्ट पहुंच हो सकती है (विवरण के लिए इसका संदर्भ लें)।
  2. कक्षा का नाम: नाम प्रारंभिक पत्र (सम्मेलन द्वारा पूंजीकृत) के साथ शुरू होना चाहिए।
  3. सुपरक्लास (यदि कोई है): कक्षा के माता-पिता (सुपरक्लास) का नाम, यदि कोई है, तो कीवर्ड से पहले विस्तारित होता है। एक वर्ग केवल एक माता-पिता को बढ़ा सकता है (उपclass)।
  4. इंटरफ़ेस (यदि कोई है): कीवर्ड लागू करने से पहले कक्षा, यदि कोई हो, द्वारा कार्यान्वित इंटरफेस की एक अल्पविराम से अलग सूची। एक वर्ग एक से अधिक इंटरफ़ेस को कार्यान्वित कर सकता है।
  5. शरीर: ब्रेसिज़ से घिरा वर्ग वर्ग, {}।

Example

public class Dog {
   String breed;
   int age;
   String color;

   void barking() {
   }

   void hungry() {
   }

   void sleeping() {
   }
}
click for object 


Saturday, 17 November 2018

November 17, 2018

java program based on array

Java Program Based on Array

In this program, you'll learn different techniques ,to print the elements of a given array in Java.

Example 1: Print an Array using For loop

public class Array {

    public static void main(String[] args) {
        int[] array = {1, 2, 3, 4, 5};

        for (int element: array) {
            System.out.println(element);
        }
    }
}
When you run the program, the output will be:
1
2
3
4
5

Example 2: Print an Array using standard library Arrays

import java.util.Arrays;

public class Array {

    public static void main(String[] args) {
        int[] array = {1, 2, 3, 4, 5};

        System.out.println(Arrays.toString(array));
    }
}
When you run the program, the output will be:
[1, 2, 3, 4, 5]

Example 3: Print a Multi-dimenstional Array

import java.util.Arrays;

public class Array {

    public static void main(String[] args) {
        int[][] array = {{1, 2}, {3, 4}, {5, 6, 7}};

        System.out.println(Arrays.deepToString(array));
    }
}
When you run the program, the output will be:
[[1, 2], [3, 4], [5, 6, 7]]
Check out these related programs:

  1. Java Program to Check if a Given Integer is Odd or Even
  2. how to run java program in CMD
  3. For Loops in java [hindi and english both]
  4. Hello : How to Create Your First Java Program
  5. How to set Environment Variables in Java: Path and Classpath
  6. while loop in java [Hindi and English Both]
  7. Do-while Loop in java

Sunday, 11 November 2018

November 11, 2018

do-while Loop in java

Do-while Loop Java


A do-while loop is similar to a while loop, except that a do-while loop is guaranteed to execute at least one time.

एक do-whileलूप थोड़ी देर के लूप के समान होता है, सिवाय इसके कि एक ... जबकि लूप को कम से कम एक बार निष्पादित करने की गारंटी दी जाती है

Syntax

Following is the syntax of a do-while loop −
do {
   // Statements
}while(condition);  


Example


public class Test {

   public static void main(String args[]) {
      int x = 10;

      do {
         System.out.print("value of x : " + x );
         x++;
         System.out.print("\n");
      }while( x < 20 );
   }
}
This will produce the following result −

Output

value of x : 10
value of x : 11
value of x : 12
value of x : 13
value of x : 14
value of x : 15
value of x : 16
value of x : 17
value of x : 18
value of x : 19

Infinitive do-while Loop in Java

If you pass true in the do-while loop, it will be infinitive do-while loop

यदि आप डू-लूप लूप में सच हो जाते हैं, तो यह भयावह डू-लूप होगा

Syntax:
  1. do{  
  2. //code to be executed  
  3. }while(true);  
Example:
  1. public class DoWhileExample2 {  
  2. public static void main(String[] args) {  
  3.     do{  
  4.         System.out.println("infinitive do while loop");  
  5.     }while(true);  
  6. }  
  7. }  
Output:
infinitive do while loop
infinitive do while loop
infinitive do while loop
ctrl+c
Now, you need to press ctrl+c to exit from the program




Check out these related programs:

  1. Java Program to Check if a Given Integer is Odd or Even
  2. how to run java program in CMD
  3. For Loops in java [hindi and english both]
  4. Hello : How to Create Your First Java Program
  5. How to set Environment Variables in Java: Path and Classpath
  6. while loop in java [Hindi and English Both]

Friday, 9 November 2018

November 09, 2018

while loop in java [Hindi and English Both]

while loop in java 


Last tutorial, we discussed for loop. In this tutorial, we will discuss during the loop. As discussed in previous tutorials, Loop is used repeatedly to execute the set of statements unless a specific situation is satisfied.

अंतिम ट्यूटोरियल, हमने for Loop के लिए चर्चा की। इस ट्यूटोरियल में हम लूप के दौरान चर्चा करेंगे। जैसा कि पिछले ट्यूटोरियल में चर्चा की गई है, लूप का उपयोग बार-बार कथन के सेट को निष्पादित करने के लिए किया जाता है जब तक कोई विशेष स्थिति संतुष्ट न हो जाए।

Syntax of while loop

while(condition)
{
   statement(s); //code to be executed 
}


Example:-

 class WhileExample 
{  
public static void main(String args[])
       {  
    int i=1;  
    while(i<=10)
                {  
        System.out.println(i);  
    i++;  
              }  
     }  
}  

Output:
1
2
3
4
5
6
7
8
9
10

Infinitive While Loop in Java

If you become true in the loop for a while, then it will be infinitive during the loop.
यदि आप थोड़ी देर लूप में सच हो जाते हैं, तो यह लूप के दौरान infinitive होगा।

Syntax:

while (true){
    statement(s);
}

Example:
  1. public class Whileloop{  
  2. public static void main(String args[]) {  
  3.     while(true){  
  4.         System.out.println("technicalsuryansh");  
  5.     }  
  6. }  
  7. }  

Output
technicalsuryansh
technicalsuryansh
technicalsuryansh
technicalsuryansh
technicalsuryansh
technicalsuryansh
technicalsuryansh
technicalsuryansh
technicalsuryansh
technicalsuryansh
technicalsuryansh
technicalsuryansh
Ctrl+c

Check out these related programs:

  1. Java Program to Check if a Given Integer is Odd or Even
  2. how to run java program in CMD
  3. For Loops in java [hindi and english both]
  4. Hello : How to Create Your First Java Program
  5. How to set Environment Variables in Java: Path and Classpath


Saturday, 8 September 2018

September 08, 2018

For Loops in java [hindi and english both]


For Loops in java [hindi and english both]

Repeat repeating the same statement is 'looping'. In Java, three types of loops work.
वही एक कथन दोहराएं दोहराएं 'लूपिंग' है। जावा में, तीन प्रकार के लूप काम करते हैं।
  • .    for Loop
  • .     while Loop
  • .    do_while Loop

1. for Loop
Core Java has two types for for loop.
कोर जावा के लिए लूप के लिए दो प्रकार हैं।
1.   "Normal for Loop".
2.   "Enhanced or foreach Loop".


1.1 Normal for Loop
The statement repeats until the condition given for for the loop.
लूप के लिए दी गई स्थिति तक बयान दोहराया जाता है।


Syntax for for Loop
for( initialization; condition; increment/decrement ){
       
        //statements;
Example for for Loop
Source Code :
public class_ForLoop
{

    public static void main(String args[])
{
       
        for( int i=0; i < 10; i++ )
{
              System.out.println("Value of i is " + i);
}
}
}



Output :

Value of i is 0
Value of i is 1
Value of i is 2
Value of i is 3
Value of i is 4
Value of i is 5
Value of i is 6
Value of i is 7
Value of i is 8
Value of i is 9
1.2 Enhanced or foreach Loop
Foreach is used to print the value of the elements in an array, but it is better than for the loop in case of array.
Foreach का प्रयोग किसी सरणी में तत्वों के मान को मुद्रित करने के लिए किया जाता है, लेकिन सरणी के मामले में लूप के लिए यह बेहतर है।
for(variable_name : array_name){
       
        //statement(s);

}


Example for foreach Loop
Source Code :

public class ForandForeachLoop{

    public static void main(String args[]){
       
        int[] arr = {10, 15, 20, 25, 30};
       
               System.out.println("Using for Loop");
        for( int i=0; i<arr.length; i++ ){
               System.out.println("Value of arr is " + arr[i]);
        }
       
               System.out.println("\nUsing foreach Loop");
        for(int a : arr){
               System.out.println("Value of arr is " + a);
        }
       
        }
}
Output :

Using for Loop
Value of arr is 10
Value of arr is 15
Value of arr is 20
Value of arr is 25
Value of arr is 30

Using foreach Loop
Value of arr is 10
Value of arr is 15
Value of arr is 20
Value of arr is 25
Value of arr is 30


WHILE OR DO WHILE FOOPS ARE STUDY IN NEXT Post

loop kya hai in hindi,types of loop in foxpro,conditional statement in hindi,loop in c language notes,what is loop in javascript in hindi,java full notes in hindi,For Loops in java [hindi and english both],for loop in java in hindi,for each loop in java in hindi,while loop in java in hindi,nested loop in hindi,loop kya hai in hindi,types of loop in foxpro,conditional statement in hindi,loop in c language notes,what is loop in javascript in hindi,java full notes in hindi,For Loops in java [hindi and english both],for loop in java in hindi,for each loop in java in hindi,while loop in java in hindi,nested loop in hindi,loop kya hai in hindi,types of loop in foxpro,conditional statement in hindi,loop in c language notes,what is loop in javascript in hindi,java full notes in hindi,For Loops in java [hindi and english both],for loop in java in hindi,for each loop in java in hindi,while loop in java in hindi,nested loop in hindi,loop kya hai in hindi,types of loop in foxpro,conditional statement in hindi,loop in c language notes,what is loop in javascript in hindi,java full notes in hindi,For Loops in java [hindi and english both],for loop in java in hindi,for each loop in java in hindi,while loop in java in hindi,nested loop in hindi,loop kya hai in hindi,types of loop in foxpro,conditional statement in hindi,loop in c language notes,what is loop in javascript in hindi,java full notes in hindi,For Loops in java [hindi and english both],for loop in java in hindi,for each loop in java in hindi,while loop in java in hindi,nested loop in hindi,loop kya hai in hindi,types of loop in foxpro,conditional statement in hindi,loop in c language notes,what is loop in javascript in hindi,java full notes in hindi,For Loops in java [hindi and english both],for loop in java in hindi,for each loop in java in hindi,while loop in java in hindi,nested loop in hindi,loop kya hai in hindi,types of loop in foxpro,conditional statement in hindi,loop in c language notes,what is loop in javascript in hindi,java full notes in hindi,For Loops in java [hindi and english both],for loop in java in hindi,for each loop in java in hindi,while loop in java in hindi,nested loop in hindi,loop kya hai in hindi,types of loop in foxpro,conditional statement in hindi,loop in c language notes,what is loop in javascript in hindi,java full notes in hindi,For Loops in java [hindi and english both],for loop in java in hindi,for each loop in java in hindi,while loop in java in hindi,nested loop in hindi,loop kya hai in hindi,types of loop in foxpro,conditional statement in hindi,loop in c language notes,what is loop in javascript in hindi,java full notes in hindi,For Loops in java [hindi and english both],for loop in java in hindi,for each loop in java in hindi,while loop in java in hindi,nested loop in hindi