If a class is declared without any access modifiers, where can the class be accessed?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is the main purpose of java?

0 Answers  


Why we use multi threading instead of multiprocessing?

0 Answers  


What is the final keyword?

0 Answers  


Define iterator and methods in iterator?

0 Answers  


What does s mean in regex?

0 Answers  






What is finalize() function in java?

0 Answers  


what is the difference between a java object reference and c++ pointer?

4 Answers  


Where are local variables stored?

0 Answers  


Which java.util classes and interfaces support event handling?

2 Answers  


What are different types of references?

0 Answers  


How can we use primitive data types as objects?

0 Answers  


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

0 Answers  


Categories