Category: Java

Java
uncategorised

Java Question

Create a new Java project and implement the following classes based on the following class diagrams and description: 1. 2. Create the classes based on the below UML diagram. Create a Test class, then instantiate the following objects: a. Three objects of type Person. b. Two objects of type Faculty. c. Three objects of type […]

Read More
Java
uncategorised

ER Diagram for University Database with Entities, Relationsh…

I need help designing an ER diagram for a University Database system. The system should include entities such as Student, Course, Instructor, Department, Club, and Activity along with their attributes. Each student has details like student ID, name, address, gender, birth date, degree, and department. Students can enroll in multiple courses, and each course records […]

Read More
Java
uncategorised

What is the difference between == and .equals() in Java?

Here is the straightforward breakdown of the difference between the two: The == Operator (Reference Comparison) What it does: For objects, it checks if two variables point to the exact same object in memory (the same memory address). For Primitives: If you are comparing primitive data types (like int, double, or boolean), == simply compares […]

Read More
Java
uncategorised

Java Question

Library Management System You are required to design a simple system for managing a library. Each library contains multiple books, and each book has its own information. Implement the following classes as described below. Please check the attached file and submit your code. Do not submit screenshots or links.

Read More
Java
uncategorised

Implementation of a Singly Linked List with Reversal and Cyc…

Please provide a complete Java implementation of a Singly Linked List that includes the following functionality: Basic Operations: Methods to insertAtEnd, deleteByKey, and displayList. Algorithm 1 (Reversal): An efficient iterative method to reverse the linked list in place ( time complexity, space). Algorithm 2 (Cycle Detection): Implement Floyds Cycle-Finding Algorithm (Hare and Tortoise) to detect […]

Read More
Java
uncategorised

Java Question

Inheritance in Java is when a class (child) acquires the properties and methods of another class (parent), allowing code reuse. Polymorphism is the ability of a method or object to take many forms, such as method overriding (same method, different behavior) or method overloading (same name, different parameters).

Read More
Java
uncategorised

Java Question

q1 – Please Open android studio and do the following: (you need to take screenshots of every steps that also authenticate your identity) 1. Create a new Android project (use your name). 2. Before you start, make sure to add constraint layout and make sure the Layout width and layout height is match parent. Also, […]

Read More
Java

This assignment will assess your skills and knowledge on implementing interfaces

This assignment will assess your skills and knowledge on implementing interfaces to define contracts and enforce common behavior across multiple classes. Context: You are tasked with developing a software application for a car rental agency. The application needs to handle different types of vehicles, including cars, motorcycles, and trucks. To enforce a common behavior and […]

Read More
Java

Context: You have been assigned to develop a Course Enrollment and Grade Managem

Context: You have been assigned to develop a Course Enrollment and Grade Management System in Java for a university. The system should provide functionality to enroll students in courses, assign grades to students, and calculate overall course grades for each student. The project should demonstrate the effective utilization of static methods and variables to keep […]

Read More
Java

Implement the classic Dijkstra’s shortest path algorithm and optimize it for map

Implement the classic Dijkstra’s shortest path algorithm and optimize it for maps. Such algorithms are widely used in geographic information systems (GIS) including MapQuest and GPS-based car navigation systems. 1) I need the answer in “JAVA” programming. 2) go through zip file https://drive.google.com/file/d/1wMBL_wDoxAUKSg8gy… that the code needs to be optimized. 3) please follow the deliverables […]

Read More