If one class havent the constructor, it has normal method,
then can i use super keyword to call the method form the
sub class and vice verse?
Answer Posted / srikanth
no,without constructer we cant call super class members
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why do we need framework in java?
What is java lang noclassdeffounderror?
What is messaging queue in java?
What does persist mean in java?
there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.
What is default constructor in java?
Write a class which checks whether a given number is prime or not. Write another class to implement the behavior of previous class and print the series of twin prime number upto a given range.
How do you create a jar file?
How common are security breaches? : java security
Do I need both jdk and jre?
What are the benefits of a jar file?
What is the difference between collection and stream?
Java prints out a ton of digits when I system.out.println() a double. How can I format it so it displays only 3 digits after the decimal place?
there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.
What about products that claim to block java applets at a firewall? : java security