I am writing a program in java for the Shortest Job First Scheduling , have generate the Process ID and Process Time separately but i have to put both in an array and would like someone to help me please.
usha
0
Newbie Poster
Recommended Answers
Jump to PostIf both Process ID and Process Time have a common subset of operations that you can use from the array then you can have them as derived classes:
abstract class process_thingie { public abstract String get_thingie(); } class process_id extends process_thingie { private String id; public process_id …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.