What is the difference between a public and a non-public
class?

Answer Posted / ravikiran(aptech mumbai)

public class is the one whose memebers can get an access to
all the classes in the same package and out of the package

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the paint() and repaint() methods in java programming?

612


Why main method is static in java?

582


What does flagged out mean?

560


What is boolean law?

506


What is immutable class in java?

506






What is passing parameters in java?

509


What is a loop java?

578


What is data type example?

541


How do you check if a string contains only numeric digits?

608


What are the classes of java?

531


What is java thread dump, how can we get java thread dump of a program?

561


Define canvas?

560


What does those terms actually mean included in the j.d.k i.6?

1591


What is codebase?

525


Why string objects are immutable in java?

560