Home Discussion Discuss: Java - Array in Java

  • javasrujana April 11, 2011 at 6:23 PM

    write a program to read 2dimensional array using one loop?

  • ArrayRyan D. Pasaporte April 13, 2011 at 9:12 PM

    Cool!...but how can we develop that program if we want another variable instead?..like you will need to input your own characters?...for example give a number : 1546234 ascending number : 1234456

  • java codekenny April 19, 2011 at 6:05 PM

    creating array of 5 students and theier marks for Test 1 up to test 3.Thy are doing diploma and degree and displaying all results

  • Data structureRitchie F Gimoto June 21, 2011 at 6:47 AM

    Im so very thankful that ihave a solution of my assignment.

  • javamax August 15, 2011 at 11:01 AM

    if(choice==2) { System.out.println("Boarding\t\tAlighting"); System.out.println("Bus Stop\t\tBus Stop\t\t Fare\t\tDuration"); System.out.println("---------\t\t---------\t\t--------\t--------"); for (int i = 0; i < counter; i++) { System.out.print(boardingArray[i]); System.out.print(" "); System.out.print("\t"); System.out.print(alightingArray[i]); System.out.print(" "); System.out.print("\t"); System.out.print("$"); System.out.print(fmt.format(busFareArray[i])); System.out.print("\t\t"); System.out.print(busDurationArray[i]/60); System.out.print(" hr "); System.out.print(busDurationArray[i]%60); System.out.println(" minutes"); } first array result not working ???

  • cs 103jerdz _19 August 18, 2011 at 5:32 AM

    ...its so easy to make a program using array,if I study well the codes of array comment........

  • javaashwini kumar singh August 30, 2011 at 10:10 PM

    java is a hiegh level language

  • ArrayNitin Adlakha June 5, 2013 at 10:32 AM

    Nic Program can u snt me more Program in java,....Please Sir If u have 9 Problm,... Nitin

  • INTEGER ARRAY USER INPUT PROBLEMAniruddh February 4, 2013 at 5:49 PM

    hello , i am trying to write a program in which i want to make an integer array where user should provide elements at command prompt ( not command line , simplly). I can do this for accepting string type of values using Bufferedreader object but unable to do same for int variable's array . My problem is related to storage of many elements of runtime in single 1D array . Thanks to you in advance .

  • JavaMichael Angelo November 24, 2011 at 3:54 PM

    Nice page.

  • javaRaushan kumar singh November 26, 2011 at 1:29 PM

    Array is the most important thing in any programming language. By definition, array is the static memory allocation. It allocates the memory for the same data type in sequence. It contains multiple values of same types Raushan Kumar Singh..

  • Thank You..George November 30, 2011 at 7:29 PM

    Thank you sir for making this syntax...Your helping many I.T students like me..I'm new in the world of programming, Thanks again sir..keep it up.

  • loops and arryshahrukh December 5, 2011 at 8:36 PM

    mail me all example of loops and array in all programing language

  • javamarkjoe merca January 11, 2012 at 5:43 PM

    i want to learn more in java...

  • programmingaiza alegre January 16, 2012 at 11:39 AM

    whats the rule of array in java programming

  • javasagar February 6, 2012 at 6:29 PM

    if() print ("hi"); else print ("Hello"); sir i want to both hi & hello are print but how!

  • computer programmingulysses February 28, 2012 at 10:59 AM

    thanks for this site i can the definition of arrays

  • gudprince March 17, 2012 at 2:18 AM

    excellent.. i love it..keep it up

  • some mistake in array declaration sanjay singh kushwaha April 22, 2012 at 5:24 PM

    Declaration of an array: int num[]; or int num = new int[2]; mistake in second line i.e array of integer type can not be hold in nonArray integer type variable

  • Storing images in an array in JavaRasha May 12, 2012 at 9:03 AM

    Hello, I'm new to java and trying to design a game and was wondering if it's possible to store my images in array. If it's possible, how?. Any example and description will be much appreciated. Thanks!

  • Sort methodmurugan May 26, 2012 at 11:33 AM

    How to get the value from user and find the sort (asc or dece)?

  • javaharpreet kaur June 5, 2012 at 10:44 PM

    it help me in learning java

  • arraysabc June 6, 2012 at 12:01 AM

    wht is the use of j and t variables

  • commentsDON June 21, 2012 at 3:13 PM

    its should be dicussed clearly and explain properly and we need more explation da .....do properly nobody ll nt like this dnt see the example in this website please u ll fail nly...if u want to pass check someother website guys.....this website waste

  • it203jonry July 3, 2012 at 12:42 PM

    example of array in 10 input

  • javaChetan pote August 21, 2012 at 5:22 PM

    very nice but my question

  • hiveerappan September 14, 2012 at 10:30 AM

    where use int i in pgm and 1=num.length

  • CommentBishnu Sharma September 23, 2012 at 1:17 PM

    Fabulous example to understand numeric array in java.

  • java Array in descending order Berserker October 12, 2012 at 7:13 AM

    PLease help me how to create a program that well give in Array in descending order.. even i gave an input a mix number

  • ARRAYHARI June 25, 2013 at 11:15 AM

    write a program to accept 'n' no of String inputs using array concept.

  • parts of Java ArrayDiomar January 15, 2014 at 11:36 AM

    please answer my question. What are the parts of java array?? ASAP.. Thank you

Post your Comment



Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Related Articles
Java Beginners

java
java  diff bt core java and java 

Java Interview Questions

java
java  what is java 

Java Interview Questions

java
java  different between java & core java 

Java Beginners

java
java  explain technologies are used in java now days and structure java 

Java Interview Questions

java
java   why iterator in java if we for loop 

Java Beginners

Java
Java   Whether Java is pure object oriented Language 

Java Beginners

JAVA
JAVA  how the name came for java language as "JAVA 

Java Beginners

java
java  what is java reflection 

Java Beginners

java
java  is java open source 

Java Interview Questions

java
java   in java does not pointers concept but what is nullpointers in java?   nullpointer is a runtime Exception 

Java Beginners

java
java  write a java program using filenotfoundexception 

Java Beginners

Java
Java  how to draw class diagrams in java 

Java Beginners

java
java   difference between class and interface 

Java Interview Questions

java
java  why multiple inheritance is not possible in java 

Java Interview Questions

java
java  explain object oriented concept in java 

Java Interview Questions

java
java  is java purely object oriented language 

Java Beginners

Java
Java   Whether Java is Programming Language or it is SOftware 

Java Beginners

java
java  what are JAVA applications development tools 

Java Beginners

java
java  how use java method 

Java Interview Questions

java
java  send me java interview questions 

JavaMail Questions

java
java  write a program in java to acess the email 

Java Interview Questions

java
java  Write a java code to print "ABABBABCABABBA 

Java Beginners

java
java  why to set classpath in java 

Java Beginners

java
java  why to set classpath in java 

Java Beginners

java
java  why to set classpath in java 

Java Beginners

java
java  why to set classpath in java 

Java Beginners

java
java  give a simple example for inheritance in java 

Java Beginners

java
java  give a simple example for inheritance in java 

Java Beginners

Java
Java  how to do java in command prompt 

Java Interview Questions

java
java  Does java allows multiline comments 

DMCA.com