Home
Video Series
Fast Math Tricks
Quantitative Aptitude
Class 8 Maths Videos
Class 9 Maths Videos
Class 10 Maths Videos
Reasoning Videos
Blog
Store
Register /Login
Home
Topic
Question
In Java arrays are
Options:
A
.
 objects
B
.
 object references
C
.
 primitive data type
D
.
 None of the above
Answer: Option A
Submit Your Solution Below and Earn Points !
0 Likes
Next Question
Report Problem
Share
Submit Solution
Your email address will not be published.
Required fields are marked
*
More Questions on This Topic :
Question 1.
Which one of the following is a valid statement?....
Question 2.
What is the result of compiling and running the following code? public class Test{ public static void main(String[] args....class Test{ public static void main(String[] args){ int[] a = new int[0]; System.out.print(a.length); } }
Question 3.
What will be the output? public class Test{ public static void main(String[] args){ int[] x = new int[3]; System.out.pri....main(String[] args){ int[] x = new int[3]; System.out.println("x[0] is " + x[0]); } }
Question 4.
What is the output of the following code? public class Test{ public static void main(String args[]){ double[] myList = {....i < myList.length; i++){ if(myList[i] > max){ max = myList[i]; indexOfMax = i; } } System.out.println(indexOfMax); } }
Question 5.
What is output of the following code: public class Test{ public static void main(String[] args){ int[] x = {120, 200, 01....i = 0; i < x.length; i++) System.out.print(x[i] + " "); } }
Question 6.
Determine output: public class Test{ public static void main(String[] args){ int[] x = {1, 2, 3, 4}; int[] y = x; x = ne....i = 0; i < x.length; i++) System.out.print(y[i] + " "); } }
Question 7.
What will be the output? public class Test{ public static void main(String[] args){ int[] a = new int[4]; a[1] = 1; a = ....int[4]; a[1] = 1; a = new int[2]; System.out.println("a[1] is " + a[1]); } }
Question 8.
Analyze the following code and choose the correct answer. int[] arr = new int[5]; arr = new int[6];....
Question 9.
When you pass an array to a method, the method receives ________ .....
Question 10.
What would be the result of attempting to compile and run the following code? public class HelloWorld{ public static voi....x = new double[]{1, 2, 3}; System.out.println("Value is " + x[1]); } }
Latest Videos
Chapter 1 - GLOBAL STEEL SCENARIO & INDIAN STEEL INDUSTRY
Part 1 : (13-04-2024)
INDUSTRY AND COMPANY AWARENESS (ICA)
Direction Sense Test
Part 1
Reasoning (Hindi)
Chapter 1 - RMHP / OHP / OB & BP
Part 1 : (14-02-2024)
GPOE
Cube & Cuboid
Part 1
Reasoning (Hindi)
Data Interpretation (DI)
Basic Concept
Reasoning (Hindi)
Counting Figures Part 1
Counting Of Straight Lines
Reasoning (Hindi)
Sail E0 free webinar
Webinars
Real Numbers
Part 7
Class 10 Maths
Real Numbers
Part 1
Class 10 Maths
Polynomials
Part 1
Class 10 Maths
Latest Test Papers
Pie Chart - Test Paper 1
Data Interpretation
Reasoning & DI
Tabulation - Test Paper 2
Data Interpretation
Reasoning & DI
Test Paper 1
Direction Sense Test
Reasoning & DI
ICA , RDIC,GFM
Free Modal Test Paper - Non - Technical Branch
Old Syllabus 2022 - SAIL Junior Officer E0
GFM Combined 1
Free Revision Test
SAIL JO E-0
One click Login
Login With Google
Old way of Login
Login With Email
Submit Problem
Problem Type (Required)
Choose Problem Type
Incorrect Topic
Incomplete Question
Wrong Question
Wrong Solution
Wrong Option
Explaination : Please write a little about the issue
Submit Solution