Hello java members i got a programm to complete and im a lil bit confused.Let me explain you somethings first.I got some classes like UniversityDepartment & PolytechnicDepartment these 2 classes...
Type: Posts; User: azizmaiden
Hello java members i got a programm to complete and im a lil bit confused.Let me explain you somethings first.I got some classes like UniversityDepartment & PolytechnicDepartment these 2 classes...
i would make the summary of the numbers of their age and div them with the number of the ppl.. but here im confused..My age variable with other information about passengers is in another class...
Hello java members i want to u if u can to help me how i can canculate something in a particular method i think is simple but im stuck on that ;p
The program is asking to find the average age of...
the main is in boy class from what i understand this is the code the question it doesnt contain anything else :/
Consider the following code:
import java.io.*;
class Daddy {
int methodOne( int a, long b ) throws IOException { … }
float methodTwo( char a, int b ) { … }
}
public class Boy extends...
Whats wrong with this code and cant print to me an array with this numbers? { 0.0, 0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75 }.
i tried many things but nothing worked lol. i tried to do it with...
thanks guys solved!
thank u very much for ur help :D yeah also i found the second one ;p u r very helpfull guys!
Hello i have 3 questions:
1) Is it possible one class to heir from two other calasses?
2)Is it possible a constructor exist without parameters?
3)A constructor must return the class who construct?
I bilieve only the 4) is true cause interface 3 extends interface 2 ;/ not 100% sure...
Hello java members this is my first post as u can see so i have been confused with this small part of code.Its a question i got to answer from school.Here is the part of code
interface Interface1...