No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Make me your friend then you will know about me.
QUESTION: A CAR Class Write a class named Car that has the following member variables: year. An int that holds the car’s model year. make. A string that holds the make of the car. speed. An int that holds the car’s current speed. In addition, the class … |
|
Hello everyone i am new on this Best community Dani and i am here to learn something new and to share my experience with all of you. Thank you |
|
Re:
I have written this code to find the cycle in graph public boolean hasCycle(int i, int[][] mat) { visited[i] = 1; // for( int i = 0; i < numNodes; i++ ) for (int j = 1; j < mat.length; j++) { if (mat[i][j] == 1 && i != j) … |
|