Arrays Important Questions
Arrays Important Questions
R.PUNITH KUMAR
kodnest
KODNEST WWW.KODNEST.COM PH: 7411615623
students of a class?
(In real life, the data is not regular rather in most of the time,
(Yes)
an array.
(null)
----------------------------------------------------
iii) Can we copy the contents of 2-d array into another 2-d
array and a 3-d array into another 3-d array ? if yes ! then go
iv) You can create an integer array , float array , boolean array
etc.. but can you create a Student array ?
I mean ….
Can we write a code like this ?
class Student
{
int id;
int age;
}
class StudentApp
{
public static void main(String args[])
{
Student arr[]=new Student[5];
}
}