There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
No Answer is Posted For this Question
Be the First to Post Answer
Is empty .java file name a valid source file name?
Explain wait() method of object class ?
What is java ceil?
In java, how many ways you can take input from the console?
What is meant by data hiding in java?
What is the difference between heap and stack memory?
What is abstraction with strong example program? (not a general program)
What are "methods" and "fields"?
how to print a numbers from 1 to 100 with out using control structures?
What is a condition in programming?
2) Suppose there are 5 directories having lot of files (say txt files) in each directory. 2 things :- 2.1) You want to search for filenames which have a particular pattern. 2.2) Out of these filtered files you want to search for a particular keyword or a search string. How can you achieve this?
I don’t want my class to be inherited by any other class. What should I do?