संदेश

Download Hindi Sanskrit Grammar App

चित्र
Download Hindi Sanskrit Grammar App Hindi Sanskrit Grammar App 1 भारत में #1 हिंदी और संस्कृत व्याकरण सीखने का ऐप ✨ मुख्य Features ✔ 50,000+ Downloads और 4.7★ Rating ✔ Offline Content – बिना इंटरनेट पढ़ाई ✔ Sanskrit + Hindi Grammar topics (Sandhi, Samas, Kaal, Vakya) ✔ Practice Quizzes और Exercises ✔ 90% Free Content + Premium Advanced Lessons 📸 App Screenshots 📱 About Hindi Sanskrit Grammar Hindi Sanskrit Vyakaran Free, Grammar MCQ Practice, Notes, गीता, वेद , पुराण About this app: 📲 50,000+ users learning grammar daily Your all-in-one Hindi & Sanskrit Grammar learning app – for school students, exam aspirants, and Dharmic learners. Includes grammar notes, MCQs, Bhagavad Gita, Vedas, Mantras & daily updates. 100% Free & works O...

#47 What is difference between Static & Instance block in Java | Static & Instance block क्या है

package com.sudhirtheindian2.java123 ; public class instance_vs_static { public static void main (String[] args) { // What is difference between instance block & static block in java // Instance Block // Note -- instance block called before the constructor // 1 it deals with object // 2 executed at the time of object creation // 3 no any keyword required // 4 static & non static variable can be accessed // inside the instance block // Static Block // 1 It deals with class // 2 Executed at the time of loaded .class file in java // 3 static keyword is required // 4 only static variable can be accessed // inside the static block } }

#45 What is Private Constructor in Java ? How to create private constructor in Java

package com.sudhirtheindian2.java123 ; public class PConstructor { int a ; String name ; private PConstructor (){ a = 45 ; name = "indian" ; System. out .println( a + " " + name ) ; } public static void main (String[] args) { PConstructor p = new PConstructor() ; // What is private Constructor in java ? // In java, it is possible to write a constructor as a private // but according to the rule we can not acceess // private members outside of the class } } //class B{ //// PConstructor p = new PConstructor(); //}

#42 Types of Constructor in Java | What is Default Constructor in Java ?

package com.sudhirtheindian2.java123 ; public class javaConstructor { int a ; String name ; boolean f ; javaConstructor (){ a = 10 ; name = "india" ; f = true; } void display (){ System. out .println( a + " " + name + " " + f ) ; } public static void main (String[] args) { javaConstructor jc = new javaConstructor() ; jc.display() ; // Types of constructor in java ---- // and what is default constructor // 1 private constructor // 2 default constructor // 3 parametrized constructor // 4 copy constructor // what is default constructor // // a constructor which does not have any parameter // is called default constructor // syntax---- // class A{ // // A(){ // // } // } }...

#39 Why String is Immutable in Java Language ? Java में String immutable क्यों होता है ?

package com.sudhirtheindian2.java123 ; public class string_immutable { public static void main (String[] args) { // 1 Why string is immutable in java ? // (immutable means we can not change string) // 2 How to change string in java ? // 3 what is the benefit of immutable string // 1 same object name same address so memory use minimum // 2 program execution fast // String str1 = "India" ; //1000 String str2 = "India1" ; //1000 String str3 = "India3" ; //1000 // String str = "India"; // str.concat("is great"); // System.out.println(str); } }

#38 How to use String in Java ? String का use कैसे करे ? lowercase, uppercase & equal in String

package com.sudhirtheindian2.java123 ; public class string_java { public static void main (String[] args) { // How to use String in java // 1 String is a predefined class in java // but we can also use as a datatype // 2 String are the sequence of character and // its index starts from 0 // syntax // // 1 String str1 = new String("India"); // // 2 String str2 = "India" // String str1 = new String("India"); String str2 = "India" ; System. out .println(str2.toLowerCase()) ; // if(str1.equals(str2)){ // System.out.println("yes both are equal"); // } // else { // System.out.println("no both are not equal"); // // } // difference // 1 equals // 2 length of string // 3 toupprecase // 4 tolowercase } }

#36 Write a program for 2D Array in Java | 2D Array in Java

package com.sudhirtheindian2.java123 ; import java.util.Scanner ; public class twoDarray { public static void main (String[] args) { // How to use 2D array in java int [][] a = new int [ 2 ][ 2 ] ; System. out .println( "enter your array element" ) ; Scanner scanner = new Scanner(System. in ) ; for ( int i = 0 ; i< 2 ; i++){ for ( int j= 0 ; j< 2 ; j++){ a[i][j] = scanner.nextInt() ; } } for ( int i = 0 ; i< 2 ; i++){ for ( int j= 0 ; j< 2 ; j++){ System. out .print(a[i][j]+ " " ) ; } System. out .println() ; } } }