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 does int [] mean in java?

763


How is hashset defined in java?

736


For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green  White will have 1 Weight.  Red and Green carry no weights.  Shortest path is the path with less weight when you add up the weights in the path.

1797


What is a bufferedreader?

740


What is remote method invocation (rmi)?

815


What are the different data types in java?

749


What is difference between an object and a class?

824


How do you calculate roots in java?

778


How are the elements of a gridbaglayout organized in java programming?

739


What is null data type?

717


When should I use singleton pattern?

808


How will you load a specific locale?

741


What are variable names?

722


What is string in java? String is a data type?

768


What is the technique adopted to create an immutable class?

779