briefley expalin about the packages

Answers were Sorted based on User's Feedback



briefley expalin about the packages..

Answer / mayank sharma

file 1
package ListPkg;
public class List { ... }
class ListNode {...}

file 2
package ListPkg;
public class NoNextItemException { ... }


file 3
public class Test { ... }
class Utils { ... }

file 4
class Test2 { ... }

Is This Answer Correct ?    3 Yes 0 No

briefley expalin about the packages..

Answer / geetha

A package is a grouping of related types providing access protection and name space management.

Is This Answer Correct ?    3 Yes 0 No

briefley expalin about the packages..

Answer / 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

More Core Java Interview Questions

i need income tax program using java inheritance concept. could u please help me?

2 Answers  


Give the hierarchy of inputstream and outputstream classes.

0 Answers  


What is overriding in java?

0 Answers  


What is composition in java?

0 Answers  


what is difference between abstract factory and factory design patterns?

0 Answers  






What is a constructor, constructor overloading in java?

0 Answers  


Is it possible to use Semaphore/ Mutex in an Interrupt Handler?

0 Answers   Ciena,


What is the frontend and backedn in Java?

3 Answers   TCS,


Where pragma is used?

0 Answers  


When you Click a Button, What event will be fired?

5 Answers  


What are the types of sockets in java?

0 Answers  


What is an empirical question?

0 Answers  


Categories