Write a program to show whether a graph is a tree or not using adjacency matrix.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac

5 Answers  


What is Collection interface?

1 Answers   Zensar,


what is mena by object block any what is the use of that

0 Answers   CGI,


Name the types of 'priority'?

2 Answers  


What is the synonym of framework?

0 Answers  


What is Session and cookies?Explain in detail with an example?

4 Answers   Accenture, CTS,


AWT event listeners extends what interface?

1 Answers  


Keywords in Exceptions?

2 Answers  


What is Java exception handling?

1 Answers  


Explain about instanceof operator in java?

0 Answers  


What are different types of constants?

0 Answers  


List the interfaces which extends collection interface?

0 Answers  


Categories