Question Cagtegory: Java
Filter by
Filter by
Questions Per Page:
-
What are checked and unchecked exceptions in Java? Explain with example.
- 1K views
- 1 answers
- 0 votes
-
Does static variables get garbage collected?
- 1K views
- 1 answers
- 0 votes
-
In Java, what is the difference between String s = “abc” and String s = new String (“abc”)?
- 7K views
- 1 answers
- 0 votes
-
In Java, What is System.gc() used for?
- 1K views
- 1 answers
- 0 votes
-
What is the difference between final, finally and finalize in Java?
- 1K views
- 1 answers
- 0 votes
-
In Java, what is the difference between synchronizing a block and synchronizing a static method?
- 1K views
- 1 answers
- 0 votes
-
How can we make any class immutable in Java?
- 1K views
- 1 answers
- 0 votes
-
In Java, what are the differences between Shallow copy and Deep copy?
- 1K views
- 1 answers
- 0 votes
-
In Java, how can you declare a variable non-serializable? When it is required?
- 1K views
- 1 answers
- 0 votes
