Question
In Java, what is the difference between static, final, and const. (if you don't know Java they will ask something similar for C or C++).

Answers



More Java Questions..
Can variables be used in Java without initialization?

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

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)?

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

Should we override finalize method

What is object cloning in Java?

What is difference between notify() and notfiyAll()

Describe java's security model.

Is there is any error if you have multiple main methods in the same class?

What is the name of the method used to schedule a thread for execution?

1) init();

2) start();

3) run();

4) resume();

5) sleep();

Can I import the same package/class twice? Will the JVM load the package twice at runtime?

What releases of Java technology are currently available? What do they contain?

What is asymmetric clustering in WebSphere?

What is pass by value and pass by reference?

What are the actions that can occur when a thread enters blocked state

How do I launch the browser using WebDriver

What is the use of Void(0)?

How does the native language C or C++ understand data types in JAVA



Search
Can you Answer!!
  • Q Who has been selected to be honoured with the 2017"s Indira Gandhi Prize for Peace, Disarmament and Development?
  • Q What’s the difference between an element and a component in react?
  • Q Who is supposed to have invited Babur to invade India?
  • Q What is chip? What are the main types of chips formed during metal cutting? Why are non- homogeneous chips formed?
  • Q Why was hair braiding deregulated?
  • Q Marco Polo was a traveller (from Venice) who is very well known for his adventures. Which south Indian dynasty does he mention in his travelogues?
  • Q Write a program to check palindrome number in C Programming?
  • Q How would you identify the backward areas?
  • Q My mother and my father were illiterate immigrants from Russia. When I was a child they were constantly amazed that I could go to a building and take a book on any subject. They couldn't believe this access to knowledge we have here in America. They couldn't believe that it was free.
  • Q What is the white of an egg called?
  • Q Do i have to avoid any foods or personal habits?