\u0909\u0926\u093e\u0939\u0930\u0923<\/strong><\/p>\nnumber= new int[6];<\/p>\n
\u092f\u0939\u093e\u0901, number \u092f\u0939 \u0910\u0930\u0947 \u0915\u093e \u0928\u093e\u092e \u0939\u0948\u0902 \u091c\u093f\u0938\u0915\u093e \u0921\u093e\u091f\u093e \u091f\u093e\u0907\u092a \u0907\u0928\u094d\u091f\u093f\u091c\u0930 \u0939\u0948\u0902, \u0914\u0930 \u0907\u0938\u0915\u0940 \u0938\u093e\u0907\u095b 6 \u0939\u0948\u0902\u0964<\/p>\n
\u0910\u0930\u0947 \u0915\u094b \u0907\u0928\u093f\u0936\u093f\u092f\u0932\u093e\u0907\u095b \u0915\u0948\u0938\u0947 \u0915\u0930\u0947\u0902\u00a0(How to initialize array in hindi)<\/h4>\n
\u0907\u0928\u093f\u0936\u093f\u092f\u0932\u093e\u0907\u091c\u0947\u0936\u0928 \u0915\u093e \u0905\u0930\u094d\u0925 \u0939\u094b\u0924\u093e \u0939\u0948\u0902, \u0910\u0930\u0947 \u0935\u0947\u0930\u093f\u090f\u092c\u0932 \u0915\u094b \u0935\u0948\u0932\u094d\u092f\u0942 \u092a\u093e\u0938 \u0915\u0930\u0928\u093e(\u0935\u0947\u0930\u093f\u090f\u092c\u0932 \u092e\u0947\u0902 \u0935\u0948\u0932\u094d\u092f\u0942 \u0938\u094d\u091f\u094b\u0930 \u0915\u0930\u0928\u093e)\u0964 \u091c\u092c \u0939\u092e \u0910\u0930\u0947 \u0921\u093f\u0915\u094d\u0932\u0947\u0905\u0930 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902, \u0909\u0938\u092e\u0947\u0902 \u0911\u092a\u0930\u0947\u091f\u093f\u0902\u0917 \u0938\u093f\u0938\u094d\u091f\u092e \u0926\u094d\u0935\u093e\u0930\u093e \u0915\u094b\u0908 \u092d\u0940 \u0917\u093e\u0930\u094d\u092c\u0947\u091c \u0935\u0948\u0932\u094d\u092f\u0942 \u0938\u094d\u091f\u094b\u0930 \u0915\u0940 \u091c\u093e\u0924\u0940 \u0939\u0948\u0902\u0964<\/p>\n
\u091c\u092c \u0939\u092e \u0910\u0930\u0947 \u0935\u0947\u0930\u093f\u090f\u092c\u0932 \u092e\u0947\u0902 \u092f\u0942\u091c\u0930 \u0926\u094d\u0935\u093e\u0930\u093e \u0907\u0902\u091f\u0930 \u0915\u0940 \u0917\u092f\u0940 \u0935\u0948\u0932\u094d\u092f\u0942 \u0938\u094d\u091f\u094b\u0930 \u0915\u0940 \u091c\u093e\u0924\u0940 \u0939\u0948\u0902, \u0909\u0938\u0947 \u092a\u094d\u0930\u0915\u094d\u0930\u093f\u092f\u093e \u0915\u094b \u0907\u0928\u093f\u0936\u093f\u092f\u0932\u093e\u0907\u091c\u0947\u0936\u0928 \u0915\u0939\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902\u0964<\/p>\n
\u092a\u094d\u0930\u094b\u0917\u094d\u0930\u093e\u092e \u090f\u0915\u094d\u0938\u0940\u0915\u094d\u092f\u0942\u0936\u0928 \u092e\u0947\u0902, \u0910\u0930\u0947 \u0935\u0947\u0930\u093f\u090f\u092c\u0932 \u092e\u0947\u0902 \u092f\u0942\u091c\u0930 \u0926\u094d\u0935\u093e\u0930\u093e \u0907\u0902\u091f\u0930 \u0915\u0940 \u0917\u092f\u0940 \u0935\u0948\u0932\u094d\u092f\u0942 \u0915\u093e \u0939\u0940 \u0907\u0938\u094d\u0924\u0947\u092e\u093e\u0932 \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902\u0964<\/p>\n
\u0938\u093f\u0902\u091f\u0947\u0915\u094d\u0938<\/strong><\/p>\nArray-Name[subscript\/index]=value;<\/p>\n
\u0909\u0926\u093e\u0939\u0930\u0923<\/strong><\/p>\nnumber new= int [4];<\/p>\n
\u092a\u094d\u0930\u0915\u093e\u0930 1<\/strong><\/p>\nnumber[0]=10;<\/p>\n
number[1]=20;<\/p>\n
number[2]=30;<\/p>\n
number[3]=40<\/p>\n
\u092a\u094d\u0930\u0915\u093e\u0930 2<\/strong><\/p>\nnumber[]={10,20,30,40};<\/p>\n
\u0910\u0930\u0947 \u0915\u0947 \u092a\u094d\u0930\u0915\u093e\u0930\u00a0(Types of arrays in Java in hindi)<\/h3>\n
\u091c\u093e\u0935\u093e \u092e\u0947\u0902 \u0915\u0947 \u0910\u0930\u0947 \u0915\u0947 \u0926\u094b \u092a\u094d\u0930\u0915\u093e\u0930 \u0939\u0948\u0902<\/p>\n
\n- \u0935\u0928 \u0921\u093e\u092f\u092e\u0947\u0902\u0936\u0928\u0932 \u0910\u0930\u0947<\/li>\n<\/ol>\n
2. \u091f\u0942 \u0921\u093e\u092f\u092e\u0947\u0902\u0936\u0928\u0932 \u0910\u0930\u0947<\/p>\n
1. \u0935\u0928 \u0921\u093e\u092f\u092e\u0947\u0902\u0936\u0928\u0932 \u0910\u0930\u0947\u00a0(One dimensional array)<\/h4>\n
\u0935\u0928 \u0921\u093e\u092f\u092e\u0947\u0902\u0936\u0928\u0932 \u0910\u0930\u0947, \u0938\u092e\u093e\u0928 \u0921\u093e\u091f\u093e \u091f\u093e\u0907\u092a \u0915\u0947 \u0935\u0947\u0930\u093f\u090f\u092c\u0932\u094d\u0938 \u0915\u094b \u090f\u0915 \u092a\u0902\u0915\u094d\u0924\u093f(row) \u092e\u0947\u0902 \u0938\u094d\u091f\u094b\u0930 \u0915\u0930\u0924\u093e \u0939\u0948\u0902\u0964 \u0910\u0930\u0947 \u0915\u093e \u091c\u0928\u0930\u0932 \u0938\u093f\u0902\u091f\u0947\u0915\u094d\u0938 \u0914\u0930 \u0935\u0928 \u0921\u093e\u092f\u092e\u0947\u0902\u0936\u0928\u0932 \u0910\u0930\u0947 \u0915\u093e \u0938\u093f\u0902\u091f\u0947\u0915\u094d\u0938 \u0926\u094b\u0928\u094b\u0902 \u0938\u092e\u093e\u0928 \u0939\u0948\u0902\u0964<\/p>\n
\u0938\u093f\u0902\u091f\u0947\u0915\u094d\u0938<\/strong><\/p>\nArray-Name[subscript\/index]=value;<\/p>\n
\u0909\u0926\u093e\u0939\u0930\u0923<\/strong><\/p>\nClass OneDArray<\/p>\n
{<\/p>\n
public static void main(String args[])<\/p>\n
{<\/p>\n
int a[] new= int[5];<\/p>\n
a[0]=11<\/p>\n
a[1]=22;<\/p>\n
a[2]=33;<\/p>\n
a[3]=44;<\/p>\n
a[5]=55;<\/p>\n
\/\/to print array elements<\/p>\n
for(i=0; i<a.length; i++)<\/p>\n
\/\/length is a property of an array<\/p>\n
System.out.println(a[i]);<\/p>\n
}<\/p>\n
}<\/p>\n
2. \u091f\u0942 \u0921\u093e\u092f\u092e\u0947\u0902\u0936\u0928\u0932 \u0910\u0930\u0947\u00a0(Two dimensional array)<\/h4>\n
\u0935\u0928 \u0921\u093e\u092f\u092e\u0947\u0902\u0936\u0928\u0932 \u0910\u0930\u0947 \u092e\u0947\u0902 \u0910\u0930\u0947 \u090f\u0932\u0947\u092e\u0947\u0902\u091f\u094d\u0938, \u090f\u0915 \u0930\u094b(\u092a\u0902\u0915\u094d\u0924\u093f) \u092e\u0947\u0902 \u0938\u094d\u091f\u094b\u0930 \u0915\u093f\u090f \u091c\u093e\u0924\u0947 \u0939\u0948\u0902, \u0907\u0938\u0915\u0947 \u0935\u093f\u092a\u0930\u0940\u0924 \u091f\u0942 \u0921\u093e\u092f\u092e\u0947\u0902\u0936\u0928\u0932 \u0910\u0930\u0947 \u092e\u0947\u0902 \u0910\u0930\u0947 \u090f\u0932\u0947\u092e\u0947\u0902\u091f\u094d\u0938 \u092e\u0948\u091f\u094d\u0930\u093f\u0915\u094d\u0938(\u0930\u094b-\u0915\u0949\u0932\u092e\u094d\u0938) \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0938\u094d\u091f\u094b\u0930 \u0915\u093f\u090f \u091c\u093e\u0924\u0947 \u0939\u0948\u0902\u0964<\/p>\n
\u092e\u0948\u091f\u094d\u0930\u093f\u0915\u094d\u0938 \u092b\u0949\u0930\u094d\u092e\u0947\u091f \u092e\u0947\u0902 \u0938\u094d\u091f\u094b\u0930 \u0915\u093f\u090f \u091c\u093e\u0928\u0947 \u0915\u093e \u0905\u0930\u094d\u0925 \u0939\u0948\u0902, \u0939\u0930 \u0910\u0930\u0947 \u090f\u0932\u093f\u092e\u0947\u0902\u091f \u0915\u093e \u090f\u0915 \u0930\u094b \u0907\u0902\u0921\u0947\u0915\u094d\u0938 \u0914\u0930 \u090f\u0915 \u0915\u0949\u0932\u092e \u0907\u0902\u0921\u0947\u0915\u094d\u0938 \u0939\u094b\u0917\u093e, \u0909\u0938\u0915\u0940 \u092e\u0926\u0924 \u0938\u0947 \u0915\u093f\u0938\u0940 \u092d\u0940 \u0935\u093f\u0936\u093f\u0937\u094d\u091f \u0910\u0930\u0947 \u090f\u0932\u093f\u092e\u0947\u0902\u091f \u0915\u094b \u090f\u0915\u094d\u0938\u0947\u0938 \u0915\u093f\u092f\u093e \u091c\u093e \u0938\u0915\u0924\u093e \u0939\u0948\u0902\u0964<\/p>\n
\u0938\u093f\u0902\u091f\u0947\u0915\u094d\u0938<\/strong><\/p>\nType array_name=new type[rows][columns];<\/p>\n
\u0909\u0926\u093e\u0939\u0930\u0923<\/strong><\/p>\nclass TwoDArray<\/p>\n
{<\/p>\n
final static int r=3;<\/p>\n
final static int c=3;<\/p>\n
public static void main(String args[])<\/p>\n
{<\/p>\n
Int mult[] []= new int [r][c];<\/p>\n
int row, columns;<\/p>\n
int i, j;<\/p>\n
for(i=1; i<=r; i++)<\/p>\n
{<\/p>\n
for(j=1; j<=c; j++)<\/p>\n
{<\/p>\n
mult[i] [j]= i*j;<\/p>\n
System.out.println(\u201c \u201c+mult[i][j]);<\/p>\n
}<\/p>\n
}<\/p>\n
System.out. println(\u201c \u201c);<\/p>\n
}<\/p>\n
}<\/p>\n
\u0907\u0938 \u0932\u0947\u0916 \u0915\u0947 \u0938\u0928\u094d\u0926\u0930\u094d\u092d \u092e\u0947\u0902 \u092f\u0926\u093f \u0906\u092a\u0915\u093e \u0915\u094b\u0908 \u092d\u0940 \u0938\u0935\u093e\u0932 \u092f\u093e \u0938\u0941\u091d\u093e\u0935 \u0939\u0948, \u0924\u094b \u0906\u092a \u0909\u0938\u0947 \u0928\u0940\u091a\u0947 \u0915\u092e\u0947\u0902\u091f \u092e\u0947\u0902 \u0932\u093f\u0916 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"\u0910\u0930\u0947 \u0915\u094d\u092f\u093e \u0939\u0948? (what is array in hindi) \u0910\u0930\u0947, \u0938\u092e\u093e\u0928 \u0921\u093e\u091f\u093e \u091f\u093e\u0907\u092a \u0915\u0947 \u0935\u0947\u0930\u093f\u090f\u092c\u0932\u094d\u0938 \u0915\u093e \u0938\u092e\u0942\u0939 \u0939\u094b\u0924\u093e \u0939\u0948\u0902\u0964 \u0910\u0930\u0947, \u0938\u092e\u093e\u0928 \u0921\u093e\u091f\u093e \u091f\u093e\u0907\u092a\u094d\u0938 \u0915\u0947 \u0935\u0947\u0930\u093f\u090f\u092c\u0932\u094d\u0938 \u0915\u094b \u0938\u094d\u091f\u094b\u0930 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0907\u0938\u094d\u0924\u0947\u092e\u093e\u0932 \u0915\u093f\u092f\u093e \u091c\u093e\u0928\u0947 \u0935\u093e\u0932\u093e \u090f\u0915 \u0915\u0902\u091f\u0947\u0928\u0930 \u0911\u092c\u094d\u091c\u0947\u0915\u094d\u091f \u0939\u0948\u0902\u0964 \u0910\u0930\u0947 \u092a\u0930\u093f\u092d\u093e\u0937\u093f\u0924 (\u0921\u093f\u0915\u094d\u0932\u0947\u0905\u0930) \u0915\u0930\u0924\u0947 \u0938\u092e\u092f \u0910\u0930\u0947 \u0924\u092f \u0938\u093e\u0907\u095b \u0926\u0947\u0928\u093e \u091c\u0930\u0941\u0930\u0940 \u0939\u0948\u0902\u0964 \u0915\u0902\u092a\u094d\u092f\u0942\u091f\u0930 \u0915\u0947 \u092e\u0947\u092e\u094b\u0930\u0940 \u092e\u0947\u0902 \u0910\u0930\u0947 \u0938\u093e\u0907\u095b \u0915\u093e […]<\/p>\n","protected":false},"author":39,"featured_media":44426,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[254],"tags":[6330,6176],"yst_prominent_words":[],"class_list":["post-44424","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-6330","tag-6176"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/posts\/44424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/users\/39"}],"replies":[{"embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/comments?post=44424"}],"version-history":[{"count":0,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/posts\/44424\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/media\/44426"}],"wp:attachment":[{"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/media?parent=44424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/categories?post=44424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/tags?post=44424"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/hindi.theindianwire.com\/wp-json\/wp\/v2\/yst_prominent_words?post=44424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}