Question
Can we have static methods in an Interface?

Answers

Static methods can’t be overridden in any class while any methods in an interface are by default abstract and are supposed to be implemented in the classes being implementing the interface. So it makes no sense to have static methods in an interface in Java.   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 What are the various sub events a mouse double click event involves? what are the various sub events a mouse double click event involves?
  • Q The group (number or name) that is then smallest likely to need a leader is ____________.
  • Q After 30 years of good performance. Happy homes apartment building was sold in 2002 for $20, 00,000 and the new owners refurbished all apartment units. In 2003 the apartment building was re-opened. Please analyse the income statement below and explain the income trends. The building has 1600 units was built in 1971, and the current loan balance is $16,395,772. Period ended Statement classification (wi) 31/12/06 31/12/07 31/12/08 31/12/09 Occupancy 95% 90% 92% 95% Base rent $1,100,000 $990,000 $950,000 $990,000 Laundry vending $12,000 $11,000 $11,000 $30,000 Parking income $42,000 $40,000 $41,000 $60,000 Other income $3,000 $8,000 $21,000 $20,000 Effective gross income $1,157,000 $1,049,000 $1,023,000 $1,100,000
  • Q What are the problems involved with queuing theory?
  • Q What is the optimize panel for?
  • Q Miserable =
  • Q What is a handle to an object? Is it a pointer? Is it a reference? Is it a pointer-to-a-pointer? What is it?
  • Q Explain how intelligent cubes are different from ordinary cubes?
  • Q At what age does the uterine environment play a role in the growth of a child versus the influence on growth by the genetic makeup?
  • Q Do you think you have strong communication skills?
  • Q Where is the head quarter of state bank of India