Skip to content

Instantly share code, notes, and snippets.

View nagavenkateshgavini's full-sized avatar
🎯
Focusing

Naga Venkatesh Gavini nagavenkateshgavini

🎯
Focusing
  • Boston, MA
  • 12:26 (UTC -05:00)
  • LinkedIn in/gaviniv
View GitHub Profile
package edu.northeastern.csye6200;
public class LAB5P2 {
public static void main(String[] args){
RoomPeople roomA = new RoomPeople();
RoomPeople roomB = new RoomPeople();
System.out.println("Add two to room a and three to room b");
roomA.addOneToRoom();
package edu.northeastern.csye6200;
public class LAB5P1 {
public static void main(String[] args) {
// TODO: write your code here
MyInteger n1 = new MyInteger(7);
System.out.println("n1 is even? " + n1.isEven());
System.out.println("n1 is prime? " + n1.isPrime());