what are the new features available in java 1.5 version?

Answer Posted / pawan

Java 1.5 has the following features
Boxing and UnBoxing
Generics
Enums
Variable argument parameters
StringBuilder
static imports
in method overriding, overriding method can have the sub
type of overriden method

Is This Answer Correct ?    40 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is formatted output?

514


What is the function of character?

527


How variables are declared?

517


Which oo concept is achieved by using overloading and overriding?

539


Why for each loop is used?

508






What are the drawbacks of singleton class?

541


What is the difference between Java and C++?

615


What are the rules for naming an array?

527


Mention the default values of all the elements of an array defined as an instance variable.

524


Which is bigger double or float?

532


what is encapsulation in java? Explain

665


What is java util function?

516


Describe the syntax of multiple inheritance? When do we use such an inheritance?

588


What is a protected void?

506


What is private static class in java?

512