Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Difference between length and length()? - Java
Java and Advanced Java
>>
Java - Part 3
Next Page »
Difference between length and length()? Explain with an example for each
The
‘length’
is an instance constant which is the size of an array. While the
‘length()’
is a method that returns the no. of the characters in a string.
Next Page »
Difference between >> and >>> - Java
The >> is right shift operator. It shifts bits towards right. For example: 5 >> 1 returns 2. It shifts one bit towards right and one bit is lost...
What is an Anonynous inner class? - Java
Anonymous Inner Classes - An inner class without a name. It allows the declaration of the class, creation of the object and execution of the methods in it at one shot...
What is object deep copy and shallow copy? - Java
In deep copy the copy operations would respect the semantics of the object. For example, copying an object along with the objects to which it refers to...
Post your comment
Related Content
Java - Part 1
Java - Part 2
Java - Part 3
Java - Part 4
Java - Part 5
Java - Part 6
Java - Part 7
Java for freshers
Basic Java
Advanced Java
Java FAQ
JSP - Part 1
JSP - Part 2
EJB - Part 1
EJB Architecture
EJB - Part 2
J2EE - Part 1
J2EE - Part 2
Servlets - Part 1
Servlets - Part 2
Struts - Part 1
Struts - Part 2
Struts and Ajax
Hibernate - Part 1
Hibernate - Part 2
Spring - Part 1
Spring - Part 2
Java Server Faces
Java Web Services
Follow us
CareerRide on YOUTUBE
CareerRide on INSTAGRAM
MCQs
English
Tutorials
Download
▲