how to accept integer array in java

Answer Posted / pavan kumar

int [] arrayreferencename=new int[size]

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of the enableevents() method in java programming?

826


Explain method overloading?

788


How does finally block differ from finalize() method?

828


Can a class have an interface?

766


What do you understand by overloading and overriding in java?

794


How many arguments can be passed to main ()?

767


What is java objectoutputstream?

769


What is the multi-catch block in java?

808


how can you catch multiple exceptions in java?

771


How does map works in java?

759


What is string in java?

779


What is exception hierarchy in java?

799


What are the 4 versions of java?

882


Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?

843


What is the difference between a switch statement and an if statement?

793