Beyler ödevi son güne bırakmak zorunda kaldım önemli bi ödevde şimdide işin içinden çıkamıyorum ilk kez java alıyorum bi el atabilecek varsa büyük adamlık yapmış olur..
Ödev aynen şu..
All your classes and methods have to be well commented for java doc generation. Make use of @param, @return commands to explain your classes. Assignments not properly commented will be penalized up to -10 points. In this assignment, you are going to implement two classes: Time and Event. Time has the data members int hour, int minute and int mode. Event has data members Time start, Time end, String name. Class invariants for Time: hour has to be between 1-12. minute has to be between 0-59. mode has to be either 0 (representing AM) or 1 ( representing PM). Class invariants for Event: start and end cannot be null. start comes before end. You are given a demo file (tester.java) and its correct output (output.txt). You classes should contain the appropriate methods and constructors so that tester class, when compiled and run, yields output.txt.
NOT: aynı konuyu java bölümünede açtım ama durum gerçekten çok acil..
DH forumlarında vakit geçirmekten keyif alıyor gibisin ancak giriş yapmadığını görüyoruz.
Üye olduğunda özel mesaj gönderebilir, beğendiğin konuları favorilerine ekleyip takibe alabilir ve daha önce gezdiğin konulara hızlıca erişebilirsin.
Ödev aynen şu..
All your classes and methods have to be well commented for java doc generation. Make use of @param, @return commands to explain your classes. Assignments not properly commented will be penalized up to -10 points.
In this assignment, you are going to implement two classes: Time and Event. Time has the data members int hour, int minute and int mode. Event has data members Time start, Time end, String name.
Class invariants for Time: hour has to be between 1-12. minute has to be between 0-59. mode has to be either 0 (representing AM) or 1 ( representing PM).
Class invariants for Event: start and end cannot be null. start comes before end.
You are given a demo file (tester.java) and its correct output (output.txt). You classes should contain the appropriate methods and constructors so that tester class, when compiled and run, yields output.txt.
NOT: aynı konuyu java bölümünede açtım ama durum gerçekten çok acil..
DH forumlarında vakit geçirmekten keyif alıyor gibisin ancak giriş yapmadığını görüyoruz.
Üye Ol Şimdi DeğilÜye olduğunda özel mesaj gönderebilir, beğendiğin konuları favorilerine ekleyip takibe alabilir ve daha önce gezdiğin konulara hızlıca erişebilirsin.