Question
public class MyClass1 {
public static void main(String argv[]){ }
/*Modifier at XX */ class MyInner {}
}
What modifiers would be legal at XX in the above code?
1) public
2) private
3) static
4) friend

Answers

1,2,3
public, private, static are all legal access modifiers for this inner class.   Your Comment




More Software,Java Questions..
What is the inputsplit in map reduce software?

Can variables be used in Java without initialization?

What is the difference between java bean and enterprise java bean?

What is software configuration management?

How does the java database connectivity (jdbc) work?

What are the advantages of threads in java?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

What is object cloning in Java?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?



Search
Can you Answer!!
  • Q Which absorbs at higher frequency,OH or CO group?.
  • Q Tell me how many sets of yarn are used in knitting?
  • Q The Fagus is the Latin name of what type of tree
  • Q You have taken import of a table in a database. You have got the Integrity constraint violation error. How you are going to resolve it.
  • Q What is the load testing process?
  • Q Discuss the role of Harish Chandra Mukherjee in inspiring peasant movement in Bengal.
  • Q Explain MultiThreading in C# with example???
  • Q What is the commit type if you have a transaction control transformation in the mapping?
  • Q What are the names of few crawler for different search engines and also mention its function?
  • Q Where the plc’s are used?
  • Q Expand OFIE