Check if the undirected graph is cyclic
Formatting

Your spacing is inconsistent, which makes the code harder to read. By the original conventions released with the language, =, ==, and &lt; should have a whitespace character on either side. Whatever you choose, make it consistent.

Implementation

Your System.out.println is for debugging and should be removed.

Use Arrays.fill() to populate your array.

Declaring len makes the code harder to read. Just refer to the length in your for loop.

As @Marc-Andre said, prefer a Deque to a Stack. And use generics.

Don't do if (foo == false). Use if (!foo).

I'm in the minority, but I prefer explicit boxing rather than autoboxing for clarity.

Don't use abbreviations for variable names. The extra characters enhance readability and cost nothing.

If it's in your control, for a non-weighted graph the adjacency matrix should probably be a boolean[][], not an int[][]. If this is a weighted graph, checking if the value == 1 is almost certainly a bug.

Correctness

You detect a cycle in this graph: { { 0, 1 }, { 1, 0 } }. Is it really a cycle if any two nodes are adjacent to each other? Is this an unweighted directed graph?

You also detect a cycle in this graph: { { 0, 1 }, { 0, 0 } }. Surely that is not correct. Please test before posting. CodeReview is for reviewing working code, not fixing broken code.