Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Core Java and Java 8
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lokesh Singh
Core Java and Java 8
Commits
9369a92b
Unverified
Commit
9369a92b
authored
May 08, 2022
by
Lokesh Singh
Committed by
GitHub
May 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readme.md
parent
c57dfd2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
readme.md
Array/readme.md
+6
-6
No files found.
Array/readme.md
View file @
9369a92b
...
@@ -3,17 +3,17 @@
...
@@ -3,17 +3,17 @@
In java arrays are obkects.
In java arrays are obkects.
1.
Arrays in Java work differently than they do in C/C++.
1.
Arrays in Java work differently than they do in C/C++.
A Java array variable can also be declared like other variables with
[]
after the data type.
2.
A Java array variable can also be declared like other variables with
[]
after the data type.
The variables in the array are ordered, and each has an index beginning from 0.
3.
The variables in the array are ordered, and each has an index beginning from 0.
Java array can be also be used as a static field, a local variable, or a method parameter.
4.
Java array can be also be used as a static field, a local variable, or a method parameter.
The size of an array must be specified by int or short value and not long.
5.
The size of an array must be specified by int or short value and not long.
The direct superclass of an array type is Object.
6.
The direct superclass of an array type is Object.
Every array type implements the interfaces Cloneable and java.io.Serializable.
7.
Every array type implements the interfaces Cloneable and java.io.Serializable.
## Creating, initializing and accessing
## Creating, initializing and accessing
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment