- Q What are all the newly added frameworks iOS 4.3 to iOS 5.0?
- Q What is subfile?
- Q How many times Indian Hockey team won gold medal in Olympics?
- Q Who is considered as the 'Prince among Patriots'?
- Q What is Macro Economics?
- Q Which river called South Ganga?
- Q Define column families?
- Q ‘Ipso jure’ means:
- Q If there are some errors in goods movements, and less stock of material consumed, how can i solve that problem in sap ?
- Q Given the following code import java.awt.*; public class SetF extends Frame{ public static void main(String argv[]){ SetF s = new SetF(); s.setSize(300,200); s.setVisible(true); } } How could you set the frame surface color to pink a)s.setBackground(Color.pink); b)s.setColor(PINK); c)s.Background(pink); d)s.color=Color.pink
- Q Pork is healthier food than poultry because it contains less tryptophan.
Question
What is the difference between ‘throw’ and ‘throws’ ?And it’s application?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
Answers
Exceptions that are thrown by java runtime systems can be handled by Try and catch blocks. With throw exception we can handle the exceptions thrown by the program itself. If a method is capable of causing an exception that it does not handle, it must specify this behavior so the callers of the method can guard against that exception.
Your Comment
- 0
- 0
- New Answer
- Contributors: *,
More Java Questions..
Can variables be used in Java without initialization?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is the difference between java bean and enterprise java bean?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
How does the java database connectivity (jdbc) work?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What are the advantages of threads in java?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What Is Java Api For Xml-based Rpc (jax-rpc)?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is static synchronized method in JDBC API? Give an example?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
Should we override finalize method
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is object cloning in Java?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What is difference between notify() and notfiyAll()
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
Describe java's security model.
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
Is there is any error if you have multiple main methods in the same class?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is the name of the method used to schedule a thread for execution?
1) init();
2) start();
3) run();
4) resume();
5) sleep();
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
Can I import the same package/class twice? Will the JVM load the package twice at runtime?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What releases of Java technology are currently available? What do they contain?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What is asymmetric clustering in WebSphere?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is pass by value and pass by reference?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 0 )
- Tags: Java,
What are the actions that can occur when a thread enters blocked state
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
How do I launch the browser using WebDriver
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
What is the use of Void(0)?
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,
How does the native language C or C++ understand data types in JAVA
- 0
- 0 |
- |
- Post Answer |
- Answers ( 1 )
- Tags: Java,