briefley expalin about the packages

Answer Posted / amrutha

A package contains a set of classes and interfaces.
package packagename;
interface interfacename{
}


class Classname{
}
class Test{
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why parsing is done?

500


What is meant by final class?

563


What do you mean by compiler?

578


What is a nullable field?

575


What are the advantages of autoboxing?

535






What is difference between iterator access and index access?

643


If a variable is declared as private, where may the variable be accessed?

546


What is fail fast in java?

576


Can we have a try block without catch block?

566


In multi-threading how can we ensure that a resource isn't used by multiple threads simultaneously?

831


What is an 8 bit word?

590


What is meant by binding in rmi?

545


What is the method to expand and collapse nodes in a jtree?

604


Can a static class have a constructor java?

544


What is a for loop in java?

595